Skip to content

Remove dummy NODE_AUTH_TOKEN export - #1558

Merged
v-HarithaVattikuti merged 1 commit into
actions:mainfrom
v-gowridurgad:removes-token-dummy
May 28, 2026
Merged

Remove dummy NODE_AUTH_TOKEN export#1558
v-HarithaVattikuti merged 1 commit into
actions:mainfrom
v-gowridurgad:removes-token-dummy

Conversation

@v-gowridurgad

Copy link
Copy Markdown
Contributor

Description:
The action previously exported a dummy NODE_AUTH_TOKEN value (XXXXX-XXXXX-XXXXX-XXXXX) when no token was provided. While this didn't break OIDC flows, it could corrupt the user's .npmrc by injecting a non-functional token value into the environment, potentially causing confusing behavior during OIDC publish. This PR removes the dummy fallback and only exports NODE_AUTH_TOKEN when the user has explicitly set it.

Related issue:
#1440

Check list:

  • Mark if documentation changes are required.
  • Mark if tests were added or updated to cover the changes.