Problem
After #5935, ci.yml runs on merge_group. There pr-contract reports skipped because the event carries no PR, so a do-not-merge label added after a PR enters the merge queue does not eject it. This becomes live once the github-iac merge-queue ruleset (melodic-software/github-iac#583) is applied.
Evidence
- .github/workflows/ci.yml:53 (
merge_group trigger); ci-status reads the label only from the PR event.
Suggested fix
Pick one:
- Document that the operator removes the PR from the queue after applying
do-not-merge.
- Parse the PR number from
merge_group.head_ref (gh-readonly-queue/<base>/pr-<N>-<sha>) and check its labels. The format is documented only by prefix, and this covers only the newest PR in a group.
Found while working on #5935.
Problem
After #5935, ci.yml runs on
merge_group. Therepr-contractreports skipped because the event carries no PR, so ado-not-mergelabel added after a PR enters the merge queue does not eject it. This becomes live once the github-iac merge-queue ruleset (melodic-software/github-iac#583) is applied.Evidence
merge_grouptrigger);ci-statusreads the label only from the PR event.Suggested fix
Pick one:
do-not-merge.merge_group.head_ref(gh-readonly-queue/<base>/pr-<N>-<sha>) and check its labels. The format is documented only by prefix, and this covers only the newest PR in a group.Found while working on #5935.