chore: allow release-please workflow to be run via workflow_dispatch#325
Merged
Conversation
kinyoklion
approved these changes
Jul 10, 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
workflow_dispatch:to.github/workflows/release-please.ymlso the release-please workflow can be re-fired manually from the Actions UI without pushing a commit tomain.Motivation
When a commit lands on
mainwhose message release-please can't parse (e.g. run 29123151878, where the squash-merge body of PR #324 tripped the conventional-commits parser), the workflow completes without opening a release PR. Recovering currently requires either editing the offending PR body (to add aBEGIN_COMMIT_OVERRIDEblock) and then pushing another commit tomainto retrigger, or landing a follow-up commit whose sole purpose is to fire the workflow. Addingworkflow_dispatchlets us edit the PR body and click "Run workflow" from the Actions UI instead.Test plan
mainbranch and re-runs cleanly on demand.Note
Low Risk
Single trigger addition on an existing release automation workflow; no change to release-please steps, permissions, or publishing behavior.
Overview
Adds
workflow_dispatchtorelease-please.yml, so release-please can be started from the GitHub Actions UI in addition to pushes tomain.This supports recovery when a
mainpush does not produce a release PR (for example, a squash-merge message that release-please cannot parse). After fixing the PR body or related metadata, you can re-run the workflow without pushing a no-op commit tomain.Reviewed by Cursor Bugbot for commit 90555f6. Bugbot is set up for automated code reviews on this repo. Configure here.