Skip to content

Fix RC publish by merging into single workflow#56

Merged
AmethystLiang merged 1 commit intomainfrom
fix/rc-publish-workflow
Mar 7, 2026
Merged

Fix RC publish by merging into single workflow#56
AmethystLiang merged 1 commit intomainfrom
fix/rc-publish-workflow

Conversation

@AmethystLiang
Copy link
Contributor

Summary

  • Merged publish-rc.yml into publish.yml with automatic RC detection
  • RC publish was failing with npm 404 because OIDC provenance auth includes the workflow file path in token claims — only publish.yml was authorized
  • The consolidated workflow detects RC tags via -rc. suffix and sets --tag rc + prerelease: true accordingly

Test plan

  • Merge and trigger an RC release to verify npm publish succeeds

🤖 Generated with Claude Code

The separate publish-rc.yml workflow failed because npm OIDC provenance
auth includes the workflow file path in token claims. Only publish.yml was
authorized. Consolidate both workflows into publish.yml with RC detection.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@AmethystLiang AmethystLiang merged commit 2bc12b0 into main Mar 7, 2026
1 check passed
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