Skip to content

Commit d011021

Browse files
committed
chore: add token based push
1 parent 4ce619d commit d011021

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/bump.app.version.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,12 @@ jobs:
6868
6969
- name: Commit new app version to main
7070
working-directory: packages/clippy
71+
env:
72+
MERGE_TOKEN: ${{ secrets.MERGE_BOT_TOKEN }}
7173
run: |
7274
git config user.name "github-actions"
7375
git config user.email "github-actions@github.com"
76+
git remote set-url origin https://x-access-token:${MERGE_TOKEN}@github.com/${{ github.repository }}
7477
git add versions.json
7578
git commit -m "chore: update app version to ${{ steps.set-app-version.outputs.new_app_version }}"
7679
git pull --rebase origin main

0 commit comments

Comments
 (0)