Skip to content

Commit 527ba48

Browse files
authored
Merge pull request #12 from timmyjose-experiments/branch-5
chore: add text "branch-5"
2 parents 2017c31 + fa5207b commit 527ba48

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

.github/workflows/expo-preview.yml

-14
Original file line numberDiff line numberDiff line change
@@ -25,20 +25,6 @@ jobs:
2525
uses: actions/checkout@v4
2626
with:
2727
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
4228

4329
- name: 🏗 Setup Node
4430
uses: actions/setup-node@v4

src/screens/Demo.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ const Demo = () => {
99

1010
return (
1111
<SafeAreaView style={styles.container}>
12+
<Text>branch-5</Text>
13+
<Text>Why is GitHub not picking the latest commit ref?</Text>
1214
<Pressable
1315
style={styles.button}
1416
onPress={() => navigation.navigate('Home')}>

0 commit comments

Comments
 (0)