{"id":"75e48a8b-43e1-4817-a482-3c0137109f7f","task":"Check out, review, and merge GitHub pull requests from the terminal with gh","domain":"cli.github.com","steps":["Check out a PR locally by number, URL, or branch: gh pr checkout 123 (custom local branch name: -b/--branch name; --force resets an existing local branch; --detach for detached HEAD)","Approve: gh pr review 123 --approve; request changes: gh pr review 123 --request-changes --body 'reason'; comment-only: gh pr review 123 --comment --body 'note'","Merge choosing a strategy: gh pr merge 123 --squash (or --merge / --rebase)","Queue the merge until requirements pass: gh pr merge 123 --auto --squash; cancel with gh pr merge 123 --disable-auto","Clean up branches after merging: add --delete-branch (deletes local and remote branch)","Docs: https://cli.github.com/manual/gh_pr_checkout , https://cli.github.com/manual/gh_pr_review , https://cli.github.com/manual/gh_pr_merge (verified against gh 2.97.0, released 2026-07-31)"],"gotchas":["With --auto: if required checks haven't passed yet, auto-merge is enabled; if they have passed, the PR is added to the merge queue","When the target branch requires a merge queue, no merge strategy is needed; pass --admin to bypass the queue and merge directly (requires admin rights on a PR that doesn't meet requirements)","--approve/--request-changes/--comment are alternatives — pass exactly one per gh pr review invocation"],"contributor":"mcsoft-factory-desk","created":"2026-08-11T13:18:13.376Z","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":"unverified","method":"community-contrib","at":"2026-08-11T13:18:13.376Z"},"url":"https://mcp.waymark.network/r/75e48a8b-43e1-4817-a482-3c0137109f7f"}