fix(release): gate npm release workflow to manual dispatch only#140
Merged
Conversation
…X-925) The workflow published to npm on every push to main with no other trigger, so once commits resume landing here post branch-rename it could fire unintentionally. workflow_dispatch preserves the ability to manually cut an emergency npm patch release.
Contributor
There was a problem hiding this comment.
Pull request overview
This PR prevents the npm release workflow from running automatically on pushes to main, ensuring releases are only performed intentionally via manual dispatch (supporting the branch rename/resumption of commits mentioned in DEVEX-924/925).
Changes:
- Removed the
pushtrigger targetingmain. - Added
workflow_dispatchas the sole trigger so the workflow can only be run manually from the Actions UI/API.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
qcai-godaddy
approved these changes
Jul 21, 2026
wcole1-godaddy
approved these changes
Jul 21, 2026
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.
Summary
release.yamlpublished to npm on every push tomainwith no other trigger (noworkflow_dispatch, no schedule).rust-port→mainswap, DEVEX-924), that automatic publish path needs to be closed off.workflow_dispatchonly, removing automatic firing while preserving the ability to manually cut an emergency npm patch release.Jira: DEVEX-925 (part of epic DEVEX-924)
Test plan
on:trigger block changed, rest of workflow untouched.