Skip to content

Commit b39ce60

Browse files
authored
Don't use PAT on publish by using trusted publishing (#1352)
Remove PAT from publish workfrow to use https://docs.npmjs.com/trusted-publishers. After confirming the operation by master merge, delete PAT from secrets and revoke.
1 parent c5d7398 commit b39ce60

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ jobs:
3434
echo "VERSION=$VERSION" >> $GITHUB_ENV
3535
node ./scripts/update-version.mjs $VERSION
3636
- run: npm run release
37-
env:
38-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN_2 }}
3937

4038
- name: Create GitHub Issue on Failure
4139
if: failure()

0 commit comments

Comments
 (0)