Skip to content

fix(release): gate npm release workflow to manual dispatch only#140

Merged
jpage-godaddy merged 1 commit into
mainfrom
devex-925-gate-release-workflow
Jul 21, 2026
Merged

fix(release): gate npm release workflow to manual dispatch only#140
jpage-godaddy merged 1 commit into
mainfrom
devex-925-gate-release-workflow

Conversation

@jpage-godaddy

Copy link
Copy Markdown
Collaborator

Summary

  • release.yaml published to npm on every push to main with no other trigger (no workflow_dispatch, no schedule).
  • Once commits resume landing on this branch post branch-rename (part of the rust-portmain swap, DEVEX-924), that automatic publish path needs to be closed off.
  • Switches the trigger to workflow_dispatch only, 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

  • Diff reviewed: only the on: trigger block changed, rest of workflow untouched.
  • Confirm workflow still shows up under Actions with a manual "Run workflow" button after merge.

…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.
Copilot AI review requested due to automatic review settings July 21, 2026 19:32

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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 push trigger targeting main.
  • Added workflow_dispatch as 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.

@jpage-godaddy
jpage-godaddy merged commit 84b220c into main Jul 21, 2026
4 checks passed
@jpage-godaddy
jpage-godaddy deleted the devex-925-gate-release-workflow branch July 21, 2026 20:46
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.

4 participants