File tree 2 files changed +2
-14
lines changed
2 files changed +2
-14
lines changed Original file line number Diff line number Diff line change 25
25
uses : actions/checkout@v4
26
26
with :
27
27
token : ${{ secrets.GH_PAT }}
28
- fetch-depth : 0
29
- ref : ${{ github.event.issue.pull_request.head.ref }}
30
-
31
- - name : Fetch latest branch state
32
- run : |
33
- git fetch origin ${{ env.branch }} --depth=1
34
- git checkout ${{ env.branch }}
35
- git pull origin ${{ env.branch }}
36
-
37
- - name : Debug Git State
38
- run : |
39
- echo "Current Branch: $(git rev-parse --abbrev-ref HEAD)"
40
- echo "Latest Commit: $(git rev-parse HEAD)"
41
- git log --oneline -n 5
42
28
43
29
- name : 🏗 Setup Node
44
30
uses : actions/setup-node@v4
Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ const Demo = () => {
9
9
10
10
return (
11
11
< SafeAreaView style = { styles . container } >
12
+ < Text > branch-5</ Text >
13
+ < Text > Why is GitHub not picking the latest commit ref?</ Text >
12
14
< Pressable
13
15
style = { styles . button }
14
16
onPress = { ( ) => navigation . navigate ( 'Home' ) } >
You can’t perform that action at this time.
0 commit comments