Skip to content

Sync eng/common directory with azure-sdk-tools for PR 14377#37493

Merged
chidozieononiwu merged 2 commits intomainfrom
sync-eng/common-AuthenticateTempNpmrc-14377
Mar 6, 2026
Merged

Sync eng/common directory with azure-sdk-tools for PR 14377#37493
chidozieononiwu merged 2 commits intomainfrom
sync-eng/common-AuthenticateTempNpmrc-14377

Conversation

@azure-sdk
Copy link
Collaborator

Sync eng/common directory with azure-sdk-tools for PR Azure/azure-sdk-tools#14377 See eng/common workflow

Copilot AI review requested due to automatic review settings March 5, 2026 23:56
@azure-sdk azure-sdk requested a review from a team as a code owner March 5, 2026 23:56
@azure-sdk azure-sdk added EngSys This issue is impacting the engineering system. Central-EngSys This issue is owned by the Engineering System team. labels Mar 5, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR syncs the eng/common directory with changes from azure-sdk-tools PR #14377. It introduces a new reusable Azure Pipelines step template that authenticates npm by copying the repository's .npmrc to a temporary directory (rather than mutating the source-tree file) and then running npmAuthenticate@0 against the copy.

Changes:

  • Adds new step template authenticate-temp-npmrc.yml that creates a temporary .npmrc in $(Agent.TempDirectory), copies existing repo .npmrc content into it (or creates an empty one), sets NPM_CONFIG_USERCONFIG to the temp file path, and authenticates it via npmAuthenticate@0.

@chidozieononiwu chidozieononiwu merged commit c20bb65 into main Mar 6, 2026
13 of 22 checks passed
@chidozieononiwu chidozieononiwu deleted the sync-eng/common-AuthenticateTempNpmrc-14377 branch March 6, 2026 00:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Central-EngSys This issue is owned by the Engineering System team. EngSys This issue is impacting the engineering system.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants