Skip to content

Commit 58e77bc

Browse files
chore: update workflow to use RELEASE_TOKEN for branch protection bypass
1 parent 76e41d7 commit 58e77bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
uses: actions/checkout@v4
2626
with:
2727
fetch-depth: 0
28-
token: ${{ secrets.GITHUB_TOKEN }}
28+
token: ${{ secrets.RELEASE_TOKEN }}
2929

3030
- name: Setup Node.js
3131
uses: actions/setup-node@v4
@@ -39,7 +39,7 @@ jobs:
3939
run: |
4040
git config user.name "github-actions[bot]"
4141
git config user.email "github-actions[bot]@users.noreply.github.com"
42-
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
42+
git remote set-url origin https://x-access-token:${{ secrets.RELEASE_TOKEN }}@github.com/${{ github.repository }}
4343
4444
- name: Backup current state
4545
id: backup

0 commit comments

Comments
 (0)