Skip to content

EXP-2124 Use org secret ADO_NPM_FEED_TOKEN for codat-npm feed auth - #1871

Merged
pmckinney-codat merged 1 commit into
mainfrom
exp-2124-ado-npm-feed-token
Aug 4, 2026
Merged

EXP-2124 Use org secret ADO_NPM_FEED_TOKEN for codat-npm feed auth#1871
pmckinney-codat merged 1 commit into
mainfrom
exp-2124-ado-npm-feed-token

Conversation

@pmckinney-codat

@pmckinney-codat pmckinney-codat commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

Why

CI here authenticates to the Azure DevOps codat-npm feed using the repo-level NPM_TOKEN secret, which was backed by a 7-day PAT that expired on 3 Aug — every workflow running npm ci now fails with E401.

The NPM_TOKEN name is also overloaded across the org: client-sdk-typescript uses it to mean an npmjs.com publish token. To standardise, the ADO feed credential moves to an explicitly named org-level secret, ADO_NPM_FEED_TOKEN, shared with the repos that consume the feed (this repo and its sibling).

What

Renames every secrets.NPM_TOKEN reference (and the matching shell env var) to ADO_NPM_FEED_TOKEN in the workflows that inject feed credentials into ~/.npmrc. No behaviour change otherwise.

Merge order

⚠️ Do not merge until the ADO_NPM_FEED_TOKEN org secret exists with repository access including this repo (all consuming repos are public, so visibility must be "selected" or "all" — not "private repositories"). Checks on this PR will stay red until then. After merging, delete the repo-level NPM_TOKEN secret.

Tracked in EXP-2124. Sibling PR: see ticket comments.

🤖 Generated with Claude Code

The repo-level NPM_TOKEN secret was backed by a short-lived ADO PAT
that expired on 3 Aug, breaking every workflow that runs npm ci. The
NPM_TOKEN name is also overloaded across the org (client-sdk-typescript
uses it for an npmjs.com publish token), so the ADO feed credential
moves to an explicitly named org-level secret shared with the repos
that consume the codat-npm feed.

Merge after the ADO_NPM_FEED_TOKEN org secret exists; the repo-level
NPM_TOKEN secret can then be deleted.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown

Link check results:

[]

@pmckinney-codat
pmckinney-codat merged commit c325041 into main Aug 4, 2026
5 of 16 checks passed
@pmckinney-codat
pmckinney-codat deleted the exp-2124-ado-npm-feed-token branch August 4, 2026 15:24
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