Skip to content

CI: run on merge_group (prerequisite for the merge queue)#16

Merged
REPPL merged 2 commits into
mainfrom
merge-queue
Jul 18, 2026
Merged

CI: run on merge_group (prerequisite for the merge queue)#16
REPPL merged 2 commits into
mainfrom
merge-queue

Conversation

@REPPL

@REPPL REPPL commented Jul 18, 2026

Copy link
Copy Markdown
Owner

Step 1 of 2 for enabling a merge queue on main (your choice B).

This adds the merge_group trigger to ci.yml so the check/gitleaks/zizmor jobs run on each entry the queue builds. This must be in main before the queue is turned on — a queue whose required checks don't trigger on merge_group hangs forever waiting for a status that never reports (the same never-reports trap we hit with the renamed check context).

Also excludes merge-queue runs from concurrency cancellation (each entry must complete to merge) and drops a stale 'both host OSes' comment left from the reverted macOS matrix.

Step 2 (after this merges) — I'll do these and verify:

  • Create a repository ruleset on main with a merge_queue rule (required checks = check, gitleaks, zizmor; merge method = squash or as you prefer).
  • Drop strict ("require up to date") from the classic protection — the queue supersedes it, and keeping both is redundant churn.
  • Confirm the next PR actually routes through the queue and lands green.

zizmor clean; merge_group trigger and all three required jobs present.

Assisted-by: Claude:claude-fable-5

REPPL added 2 commits July 18, 2026 15:46
Prerequisite for enabling a merge queue on main. The queue builds each
PR against the exact main it will land on and gates it on the required
checks; those checks must trigger on the merge_group event or the queue
hangs forever waiting for a status that never reports. Adds the
merge_group trigger and excludes queue runs from concurrency
cancellation (each entry must complete to merge). Also drops a stale
'both host OSes' comment left from the reverted macOS matrix.

Must land in main BEFORE the queue is enabled.

Assisted-by: Claude:claude-fable-5
The job-header comment still claimed zizmor uploads SARIF to Code
Scanning, contradicting the advanced-security: false config below it
(Code Scanning is not enabled on this repo). Landed via #13; corrected
here alongside the merge_group change to the same file.

Assisted-by: Claude:claude-fable-5
@REPPL
REPPL merged commit d4c3d67 into main Jul 18, 2026
6 checks passed
@REPPL
REPPL deleted the merge-queue branch July 18, 2026 14:54
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