Repository navigation
ci: cancel a pull request's unfinished runs when it merges - #2527
Merged
Merged
Conversation
Runs triggered by the push to master are not touched.
sbryngelson
requested review from
danieljvickers
and removed request for
a team
November 27, 2026 00:21
|
Claude Code Review Head SHA: b88128a No review was produced. Claude ran but wrote no review (Claude step: failure). Run and transcript: https://github.com/MFlowCode/MFC/actions/runs/45916230281 |
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.
When a pull request merges, cancels its unfinished workflow runs. The runs started by the push to
masterare not touched.1. Does it solve the problem?
Command that shows it:
masterof this repository, withmasterruns unfinished (dry run)Why the new result is right (analytic solution, reference data, convergence, ...): only
pull_request*events whose head repository and branch match the merged pull request are selected, sopush, scheduled and follow-on runs are never candidates.2. Does it create another one?
./mfc.sh lint: 1033 passed, 0 failed;./mfc.sh precheckpasses;actionlintpasses on the new filemasterfirst3. Is it slower?
N/A: no
src/or build files change.Notes
pull_request_targetwith onlyactions: write, so pull requests from forks are covered; it checks out and runs no pull request code.