There was an error while loading. Please reload this page.
1 parent 8f6d583 commit 713a8d1Copy full SHA for 713a8d1
1 file changed
.github/workflows/update-versions.yml
@@ -63,6 +63,9 @@ jobs:
63
run: |
64
git config --local user.email "github-actions[bot]@users.noreply.github.com"
65
git config --local user.name "github-actions[bot]"
66
+ # Checkout the proper branch (handle both PR and push events)
67
+ BRANCH_NAME="${{ github.head_ref || github.ref_name }}"
68
+ git checkout "$BRANCH_NAME"
69
git add packages/builder/src/export/versions.ts
70
git commit -m "chore: update export versions"
- git push
71
+ git push origin "$BRANCH_NAME"
0 commit comments