Skip to content

Commit 4e5c982

Browse files
committed
ci(release): use GH_TOKEN for checkout and semantic-release auth; keep husky disabled in CI
1 parent 1044fbc commit 4e5c982

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ jobs:
7171
uses: actions/checkout@v4
7272
with:
7373
fetch-depth: 0
74+
token: ${{ secrets.GH_TOKEN }}
7475

7576
- name: Setup Node.js
7677
uses: actions/setup-node@v4
@@ -92,7 +93,7 @@ jobs:
9293
- name: Run semantic-release
9394
run: npx semantic-release
9495
env:
95-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
96+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
9697
HUSKY: 0
9798

9899
- name: Get the new version number

0 commit comments

Comments
 (0)