Skip to content

Commit 2028b9c

Browse files
committed
fix: use built-in GITHUB_TOKEN for semantic-release
The workflow was using a custom GH_TOKEN secret that is not configured. Changed to use the built-in GITHUB_TOKEN which is automatically provided by GitHub Actions and has the necessary permissions already configured.
1 parent 14c1f25 commit 2028b9c

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,8 @@ jobs:
2626

2727
- name: Install dependencies
2828
run: npm i
29-
env:
30-
GH_TOKEN: ${{ secrets.GH_TOKEN }}
31-
29+
3230
- name: Release
3331
env:
34-
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
32+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3533
run: npm run release

0 commit comments

Comments
 (0)