Skip to content

Commit 879947a

Browse files
committed
fix: use a different token for semantic release
1 parent 3103e94 commit 879947a

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
@@ -20,7 +20,7 @@ jobs:
2020
uses: actions/checkout@v3
2121
with:
2222
fetch-depth: 0
23-
token: ${{ secrets.GITHUB_TOKEN }}
23+
token: ${{ secrets.SEMANTIC_RELEASE_TOKEN }}
2424

2525
- name: Setup Go
2626
uses: actions/setup-go@v4
@@ -63,7 +63,7 @@ jobs:
6363
- name: Semantic Release
6464
id: semantic
6565
env:
66-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
66+
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_TOKEN }}
6767
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
6868
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
6969
run: npx semantic-release

0 commit comments

Comments
 (0)