Skip to content

Commit d66d471

Browse files
committed
provide token with checkout
1 parent 219e51d commit d66d471

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/npm-publish.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
- uses: actions/checkout@v2
1515
with:
1616
ref: ${{ github.event.release.target_commitish }}
17+
token: ${{ secrets.GH_RELEASE_TOKEN }}
1718
- name: Setup node
1819
uses: actions/setup-node@v1
1920
with:
@@ -29,5 +30,3 @@ jobs:
2930
env:
3031
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTOMATION_TOKEN }}
3132
- run: git push
32-
env:
33-
GITHUB_TOKEN: ${{ secrets.GH_RELEASE_TOKEN }}

0 commit comments

Comments
 (0)