Skip to content

Commit 0707ac1

Browse files
committed
fix: use SYNC_TOKEN for workflow permissions
1 parent bd8b6f9 commit 0707ac1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/sync-to-mirror-repo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ jobs:
2222

2323
- name: Push to mirror repo
2424
run: |
25-
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git
25+
git remote set-url origin https://x-access-token:${{ secrets.SYNC_TOKEN }}@github.com/${{ github.repository }}.git
2626
git push origin develop:develop --force

0 commit comments

Comments
 (0)