Skip to content

Commit 3ebe18f

Browse files
committed
fix: semantic-release
1 parent 49a21a9 commit 3ebe18f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ jobs:
99
publish:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v1
12+
- uses: actions/checkout@v2
13+
with:
14+
persist-credentials: false
1315
- uses: actions/setup-node@v1
1416
with:
1517
node-version: 12
@@ -22,6 +24,6 @@ jobs:
2224
run: yarn run tests
2325
- name: Release
2426
env:
25-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
2628
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2729
run: npx semantic-release

0 commit comments

Comments
 (0)