Skip to content

Commit 19833bf

Browse files
ci: simplify GitHub token handling in release workflow
1 parent a6484c8 commit 19833bf

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ jobs:
2323
uses: actions/checkout@v4
2424
with:
2525
fetch-depth: 0
26-
token: ${{ secrets.GH_TOKEN || github.token }}
2726

2827
- name: Setup Node.js
2928
uses: actions/setup-node@v4
@@ -42,6 +41,6 @@ jobs:
4241

4342
- name: Release
4443
env:
45-
GITHUB_TOKEN: ${{ secrets.GH_TOKEN || github.token }}
44+
GITHUB_TOKEN: ${{ github.token }}
4645
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
4746
run: yarn semantic-release

0 commit comments

Comments
 (0)