Skip to content

Commit 9eff191

Browse files
authored
chore: use secrets.GITHUB_TOKEN for npm publish & creating GH release (#172)
1 parent d31dcf9 commit 9eff191

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/stage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ jobs:
113113
114114
- name: Publish package
115115
env:
116-
NODE_AUTH_TOKEN: ${{ secrets.NPM_MAVEN_TOKEN }}
116+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
117117
run: npm publish
118118

119119
- name: Commit and push package modifications
@@ -131,7 +131,7 @@ jobs:
131131
- name: Create a release
132132
uses: actions/[email protected]
133133
with:
134-
github-token: ${{ secrets.STAGING_PAT }}
134+
github-token: ${{ secrets.GITHUB_TOKEN }}
135135
script: |
136136
const repo_name = context.payload.repository.full_name
137137
const response = await github.request('POST /repos/' + repo_name + '/releases', {

0 commit comments

Comments
 (0)