Skip to content

fix(ci): drop registry-url from OIDC stable publish - #1109

Merged
aidenybai merged 1 commit into
mainfrom
fix/revert-publish-registry-url
Jul 9, 2026
Merged

aidenybai merged 1 commit into
mainfrom
fix/revert-publish-registry-url

Conversation

@aidenybai

@aidenybai aidenybai commented Jul 9, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Reverts the registry-url addition on the stable Publish job from fix(ci): restore npm OIDC auth for stable publish #1108.
  • Root cause of the 0.7.3 partial publish was IDENTITY_TOKEN_READ_ERROR during parallel changeset publish (OIDC token fetch flake), not missing registry-url. Prior releases used the same workflow without registry-url and succeeded.
  • registry-url on setup-node is actively harmful for Trusted Publishing: it writes an empty _authToken line that prevents OIDC (actions/setup-node#1551).
  • Keeps workflow_dispatch + force_publish so we can finish [email protected] / any remaining packages.

Test plan

  • Merge, then gh workflow run publish.yml -f force_publish=true
  • npm view react-doctor version → 0.7.3

Note

Low Risk
CI-only change to npm auth configuration for the stable publish job; no application runtime impact.

Overview
Reverts registry-url on the stable Publish job’s actions/setup-node step so npm Trusted Publishing can use OIDC again.

setup-node with registry-url injects an empty //registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN} entry, which blocks OIDC (actions/setup-node#1551). The workflow now documents that stable publish is OIDC-only; publish-dev still sets registry-url for classic token flows.

Reviewed by Cursor Bugbot for commit 996dbad. Bugbot is set up for automated code reviews on this repo. Configure here.

The 0.7.3 failure was IDENTITY_TOKEN_READ_ERROR mid parallel publish,
not missing registry-url. Adding registry-url writes an empty
_authToken line that blocks Trusted Publishing OIDC
(actions/setup-node#1551). Keep force_publish dispatch to finish
partial releases.
@aidenybai
aidenybai merged commit fd2db30 into main Jul 9, 2026
19 of 21 checks passed
@aidenybai
aidenybai deleted the fix/revert-publish-registry-url branch July 9, 2026 13:16
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.

1 participant