Skip to content

Register manual CLI v1 release runs - #824

Open
roncohen wants to merge 1 commit into
mainfrom
ci/allow-cli-v1-release-dispatch
Open

roncohen wants to merge 1 commit into
mainfrom
ci/allow-cli-v1-release-dispatch

Conversation

@roncohen

Copy link
Copy Markdown
Contributor

What changed

Register manual runs for publish.yml so a maintainer can select maintenance/cli-v1 to release a CLI v1 patch while main continues releasing prereleases. GitHub requires the manual trigger on the default branch, but runs the selected branch's workflow so npm provenance points to the source being released.

The default-branch publish job still runs only on pushes to main. Manual runs default to a dry run. Both release paths share a concurrency group so automatic and maintenance releases do not race to change npm tags. This PR does not change normal Changesets behavior or enable automatic publishing from the maintenance branch.

Verification

All 18 release tests passed. Parsed both workflow versions and checked that their dispatch inputs and concurrency group match, that manual dispatch cannot run the main publish job, and that the maintenance workflow defaults to no publish. No release was dispatched.

@reflag-review reflag-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Risk: medium

no actionable findings

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