| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
⚠️ No Changeset foundLatest commit: a71bbe9 Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset. Click here to learn what changesets are, and how to add one. Click here if you're a maintainer who wants to add a changeset to this PR |
Sorry, something went wrong.
npm i https://pkg.pr.new/@modelcontextprotocol/sdk@1839 commit: a71bbe9 |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM — straightforward CI change removing token-based auth in favor of OIDC trusted publishing.
Extended reasoning...Single-file CI change to .github/workflows/main.yml (v1.x branch). Removes registry-url from actions/setup-node and drops the NODE_AUTH_TOKEN env var from the npm publish step. The id-token: write permission was already present, so OIDC will work without additional changes.
This change improves the security posture by eliminating the need for a long-lived NPM_TOKEN secret. OIDC trusted publishing is the recommended modern approach. No new attack surface is introduced.
Low — this is a mechanical two-line deletion in a CI workflow. The companion PR (#1838) made the identical change to the main branch workflow.
No bugs found. No changeset needed (CI-only change). The environment: release gate and id-token: write permission already provide the necessary constraints for OIDC to function correctly.
Sorry, something went wrong.
There was a problem hiding this comment.
Clean backport — v1.x already had id-token: write job-scoped, --provenance, and environment: release, so dropping registry-url + NODE_AUTH_TOKEN is the whole change.
One parity gap with #1838: that PR adds npm install -g npm@11.5.1 before publish (OIDC needs npm ≥11.5.1; the rationale is not depending on which Node 24 patch setup-node resolves to). This backport omits it. Fails closed if it's ever a problem, so low risk — but for consistency:
- name: Ensure npm CLI supports OIDC trusted publishing
run: npm install -g npm@11.5.1Also noting: the npm trusted-publisher config needs a second entry for v1.x (main.yml / release — different workflow filename than main's release.yml).
Review by Claude, checked by Basil.
Sorry, something went wrong.
Done. |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM — straightforward CI change mirroring #1838 on the v1.x branch.
Extended reasoning...Single-file change to .github/workflows/main.yml that removes registry-url from actions/setup-node and NODE_AUTH_TOKEN from the publish step, replacing them with OIDC trusted publishing (pins npm@11.5.1 to ensure support). This is the v1.x companion to #1838, which has already landed on main.
None — this change improves the security posture by removing a long-lived secret (NPM_TOKEN) in favor of short-lived OIDC tokens. The id-token: write permission was already present, and the publish job is gated behind the release environment.
Low. This is a mechanical CI configuration change with a clear, well-understood pattern. The identical change was already reviewed and merged for the main branch (#1838).
No bugs found by the automated review system. No outstanding reviewer comments. The change is small, self-contained, and consistent with the already-merged companion PR.
Sorry, something went wrong.
There was a problem hiding this comment.
npm-guard step added — parity with #1838. LGTM.
Review by Claude, checked by Basil.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
v1.x companion to #1838. Drops NODE_AUTH_TOKEN and registry-url — npm CLI auto-detects GitHub Actions OIDC. id-token: write was already present.
Requires a trusted publisher configured for @modelcontextprotocol/sdk on npmjs.com (workflow main.yml, environment release).