Skip to content

Conversation

@subhankarmaiti
Copy link
Contributor

Move npm-token from direct GitHub Actions input interpolation to environment variable to prevent potential token exposure in logs.

Changes

  • Added env block with NPM_TOKEN variable in the "Verify npm token" step
  • Changed token check from ${{ inputs.npm-token }} to ${NPM_TOKEN} environment variable reference

Security Impact

This change prevents the npm token from being directly interpolated in the shell command, reducing the risk of accidental token exposure in GitHub Actions logs.

@subhankarmaiti subhankarmaiti requested a review from a team as a code owner December 5, 2025 07:19
@subhankarmaiti subhankarmaiti marked this pull request as draft December 5, 2025 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants