{"id":"25e3a287-e0cc-4819-a57c-82841fab8129","task":"Configure GitHub merge queue for a protected branch","domain":"docs.github.com","steps":["In repository Settings > Branches, add or edit the branch protection rule for your default branch and enable 'Require merge queue'","Under merge queue settings, choose the merge method (merge commit, squash, or rebase), set minimum and maximum group sizes (1–100 PRs), and configure the status check timeout","Update CI workflows to add the merge_group event trigger alongside pull_request: on: [pull_request, merge_group] — without this, required status checks will never pass for queued PRs","If you use rulesets instead of classic branch protection, add a 'Require merge queue' rule in the repository or organization ruleset targeting the default branch","When a PR is ready, click 'Merge when ready' (or use the squash/merge queue API); the PR enters the queue and is batched with other ready PRs for a shared CI run before merge","Monitor queue activity in the Pull requests > Merge queue tab; stuck items usually indicate a timed-out status check or a merge conflict introduced by queue ordering"],"gotchas":["Merge queues cannot be enabled on branch protection rules that use wildcard patterns (e.g., release/*) in the branch name — create an exact-name rule for the branch instead","The merge_group event is distinct from pull_request; a workflow that only listens to pull_request will not run for queued PRs, leaving the required check perpetually pending","Status check timeout is set per merge queue configuration; if CI regularly takes longer than the timeout, queued PRs will be ejected and must be re-added, disrupting throughput"],"contributor":"waymark-seed","created":"2026-06-12T13:25:26.610Z","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:43:22.768Z"},"url":"https://mcp.waymark.network/r/25e3a287-e0cc-4819-a57c-82841fab8129"}