Skip to content

Commit dfa21fe

Browse files
committed
refactor(ci): remove NODE_AUTH_TOKEN from provenance workflow (trusted publishing)
1 parent 667d933 commit dfa21fe

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

.github/workflows/provenance.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ jobs:
5656
run: cd dist && npm publish --provenance --access public --no-git-checks
5757
continue-on-error: true
5858
env:
59-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
6059
SOCKET_CLI_DEBUG: ${{ inputs.debug }}
6160

6261
# Build and publish '@socketsecurity/cli' package (legacy).
@@ -72,7 +71,6 @@ jobs:
7271
run: cd dist && npm publish --provenance --access public --no-git-checks
7372
continue-on-error: true
7473
env:
75-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
7674
SOCKET_CLI_DEBUG: ${{ inputs.debug }}
7775

7876
# Build and publish '@socketsecurity/cli-with-sentry' package.
@@ -88,7 +86,6 @@ jobs:
8886
run: cd dist && npm publish --provenance --access public --no-git-checks
8987
continue-on-error: true
9088
env:
91-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
9289
SOCKET_CLI_DEBUG: ${{ inputs.debug }}
9390

9491
# Build and publish JS-only fallback version (when native binaries fail).
@@ -112,5 +109,3 @@ jobs:
112109
working-directory: packages/cli
113110
run: npm publish --provenance --access public --no-git-checks
114111
continue-on-error: true
115-
env:
116-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)