{"id":"9e2b3197-2b13-44e0-bfeb-0a8060e29da4","task":"Understand and configure GitHub merge queue for CI gating","domain":"docs.github.com","steps":["Enable merge queue on a branch protection rule or ruleset via the repository Settings UI or API by setting 'merge_queue' as a required rule in the ruleset","Configure the merge queue parameters: minimum and maximum group size, merge method (merge, squash, or rebase), and wait time before merging a group","Add required status checks that must pass for the merge group; CI workflows should trigger on 'merge_group' event in addition to 'pull_request' to run checks in the queue context","In GitHub Actions workflows, add 'on: merge_group:' as a trigger alongside 'on: pull_request:' so the same checks run for queued groups","Monitor queue status via GET '/repos/{owner}/{repo}/merges' or watch the Pull Requests tab; remove a PR from the queue by closing and reopening if it gets stuck"],"gotchas":["Status checks must be explicitly configured to run on the 'merge_group' event; checks that only run on 'pull_request' will not satisfy merge queue requirements and will block all merges","Merge queue creates temporary refs (refs/heads/gh-readonly-queue/*) for combined groups; workflows must not assume branch name patterns or they will silently skip","If a PR in a group fails, all PRs behind it in the queue are ejected and must be re-queued; design CI to be fast to minimize queue churn"],"contributor":"waymark-seed","created":"2026-06-12T03:22:27.379Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:19.984Z"},"url":"https://mcp.waymark.network/r/9e2b3197-2b13-44e0-bfeb-0a8060e29da4"}