Skip to content

Move npm auth config to .npmrc with env vars#214

Merged
cx-alon-rosenhek merged 2 commits into
mainfrom
other/refactor_gh_workflow
Jul 10, 2026
Merged

Move npm auth config to .npmrc with env vars#214
cx-alon-rosenhek merged 2 commits into
mainfrom
other/refactor_gh_workflow

Conversation

@cx-atish-jadhav

Copy link
Copy Markdown

Centralize npm registry authentication by configuring auth tokens in .npmrc using environment variable substitution instead of manually setting npm config in CI/CD workflows. This simplifies the build pipeline and removes hardcoded auth steps while maintaining security through secrets management. Also added .claude and .vscode to .gitignore.

Centralize npm registry authentication by configuring auth tokens in .npmrc using environment variable substitution instead of manually setting npm config in CI/CD workflows. This simplifies the build pipeline and removes hardcoded auth steps while maintaining security through secrets management. Also added .claude and .vscode to .gitignore.
@stepsecurity-app

Copy link
Copy Markdown

Security Policy Alert: Secret Policy Violation

This workflow run has been blocked by StepSecurity's secrets policy because it accesses secrets and the workflow file differs from the default branch.

Secret references detected:

  • secrets.PERSONAL_ACCESS_TOKEN at line 15

To approve this workflow, please add the workflows-approved label to this PR.

Note: The label must be added by someone other than the PR author (cx-atish-jadhav) or automation bots to ensure proper security review.

After the label is added, you can re-run the blocked workflow to proceed.

This workflow will be automatically approved once merged into the default branch.

For more information, see StepSecurity's Secret Exfiltration Policy documentation.

Changed uuid dependency from v9.0.0 to v8.3.2 to match the version used by azure-pipelines-task-lib dependencies. Removed --loglevel=http flag from npm ci commands in CI workflows to use default logging.
@cx-alon-rosenhek cx-alon-rosenhek merged commit 22730d4 into main Jul 10, 2026
5 of 7 checks passed
@cx-alon-rosenhek cx-alon-rosenhek deleted the other/refactor_gh_workflow branch July 10, 2026 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants