Skip to content

Commit 1b00d8a

Browse files
committed
ci: Use SEMANTIC_RELEASE_TOKEN to bypass branch protection.
1 parent ac7cb72 commit 1b00d8a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- uses: actions/checkout@v4
1818
with:
1919
fetch-depth: 0
20-
persist-credentials: false
20+
token: ${{ secrets.SEMANTIC_RELEASE_TOKEN }}
2121

2222
- uses: actions/setup-node@v4
2323
with:
@@ -28,6 +28,6 @@ jobs:
2828

2929
- name: Run semantic-release
3030
env:
31-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31+
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_TOKEN }}
3232
HUSKY: "0"
3333
run: npx semantic-release

0 commit comments

Comments
 (0)