Skip to content

fix(ci): cancel closed merge queue runs#10972

Open
gustavovalverde wants to merge 1 commit into
mainfrom
agent/cancel-closed-queue-runs
Open

fix(ci): cancel closed merge queue runs#10972
gustavovalverde wants to merge 1 commit into
mainfrom
agent/cancel-closed-queue-runs

Conversation

@gustavovalverde

@gustavovalverde gustavovalverde commented Jul 16, 2026

Copy link
Copy Markdown
Member

Motivation

Mergify queue candidate #10944 closed while its crate build and unit tests continued running for another 8 and 27 minutes, consuming CI capacity after the result became irrelevant.

Solution

When Mergify closes a queue candidate, cancel its active workflow runs. The controller verifies the Mergify author, repository, and branch prefix, excludes its own run, and uses only actions: write.

Tests

Workflow syntax and security checks pass.

Refs #10963

AI Disclosure

OpenAI Codex was used for workflow implementation, testing, and this description.

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