Inspect mergeability and review state programmatically.
Section: Reviews and Merge
Inspect mergeability via JSON
bash
bash
gh pr view 123 --json mergeStateStatus,isDraft,reviewDecisionExplanation
Inspect mergeability and review state programmatically.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Reviews and Merge