Skip to content

Commit a3ba966

Browse files
geroplona-agent
andauthored
[npm] Remove NPM_AUTH_TOKEN env vars for OIDC-based publishing (#21226)
OIDC-based npm publishing doesn't require explicit token env vars. Keeps publish.js token handling for manual releases. Co-authored-by: Ona <no-reply@ona.com>
1 parent ac18dcd commit a3ba966

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

.github/workflows/branch-build.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,6 @@ jobs:
256256
VERSION: ${{needs.configuration.outputs.version}}
257257
PR_NO_CACHE: ${{needs.configuration.outputs.build_no_cache}}
258258
PR_NO_TEST: ${{needs.configuration.outputs.build_no_test}}
259-
NPM_AUTH_TOKEN: "${{ secrets.NPM_AUTH_TOKEN }}"
260259
PUBLISH_TO_NPM: ${{ needs.configuration.outputs.publish_to_npm == 'true' || needs.configuration.outputs.is_main_branch == 'true' }}
261260
JB_MARKETPLACE_PUBLISH_TOKEN: "${{ secrets.JB_MARKETPLACE_PUBLISH_TOKEN }}"
262261
PUBLISH_TO_JBPM: ${{ needs.configuration.outputs.publish_to_jbmp == 'true' || needs.configuration.outputs.is_main_branch == 'true' }}

.github/workflows/build.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,6 @@ jobs:
259259
VERSION: ${{needs.configuration.outputs.version}}
260260
PR_NO_CACHE: ${{needs.configuration.outputs.build_no_cache}}
261261
PR_NO_TEST: ${{needs.configuration.outputs.build_no_test}}
262-
NPM_AUTH_TOKEN: "${{ secrets.NPM_AUTH_TOKEN }}"
263262
PUBLISH_TO_NPM: ${{ needs.configuration.outputs.publish_to_npm == 'true' || needs.configuration.outputs.is_main_branch == 'true' }}
264263
JB_MARKETPLACE_PUBLISH_TOKEN: "${{ secrets.JB_MARKETPLACE_PUBLISH_TOKEN }}"
265264
PUBLISH_TO_JBPM: ${{ needs.configuration.outputs.publish_to_jbmp == 'true' || needs.configuration.outputs.is_main_branch == 'true' }}

0 commit comments

Comments
 (0)