Merged
Conversation
…release testing - Remove NPM_TOKEN / NODE_AUTH_TOKEN — publish now uses OIDC trusted publishing (no secrets needed) - Add workflow_dispatch trigger with prerelease checkbox: publishes to alpha dist-tag so we can verify OIDC works without touching latest - Drop --provenance flag (included automatically with trusted publishing) The release event path still publishes to latest as before; the only change is the auth mechanism. To test: bump version to x.y.z-alpha.0 on a branch, then run workflow with prerelease checked.
commit: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Migrates npm publishing from NPM_TOKEN secret to OIDC trusted publishing.
Changes
NODE_AUTH_TOKENenv var from publish step — OIDC handles auth now--provenanceflag (included automatically with trusted publishing)workflow_dispatchtrigger withprereleaseinput for testing:alphadist-tag so we can verify OIDC workswithout affecting
latestlatestas beforeTesting
To verify before merging:
0.1.12-alpha.0on a branchprereleasecheckednpm view @modelcontextprotocol/conformance@alphashows the versionnpmjs Trusted Publisher Registration
On https://www.npmjs.com/package/@modelcontextprotocol/conformance/settings, add:
ci.ymlreleaseNote: environment was renamed from
Releasetorelease(lowercase) via APIto match workflow references. npmjs trusted publisher matching is case-sensitive.