Skip to content

Commit f01d2f5

Browse files
committed
💚 Try fixing renovate postupgrade workflow
1 parent c35d122 commit f01d2f5

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/renovate-postupgrade.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,14 @@ jobs:
3030
- name: Install dependencies
3131
run: bun install --frozen-lockfile
3232

33-
- if: ${{ !contains(github.event.pull_request.changed_files, 'android/.native-code-version') }}
34-
name: Bump native code version
33+
- name: Bump native code version
34+
env:
35+
GH_TOKEN: ${{ github.token }}
3536
run: |
37+
if gh pr diff ${{ github.event.pull_request.number }} --name-only | grep "^android/.native-code-version$"; then
38+
echo already bumped
39+
exit 0
40+
fi
3641
current=$(cat android/.native-code-version)
3742
echo Native code version is currently $current
3843
echo "It'll be set to $(( current + 1))"

0 commit comments

Comments
 (0)