gh pr ready
Mark a draft pull request as ready for review
What it does
A draft is a pull request still in progress: people can see it, but it cannot be merged and reviewers get no requests. gh pr ready removes the draft mark when you are done.
gh pr ready --undo turns the PR back into a draft if it turns out there is more work. gh pr create --draft creates a PR as a draft from the start.
Syntax
gh pr ready <number>
gh pr ready <number> --undoExamples
Mark the draft pull request 42 as ready for review
gh pr ready 42pr ready— remove the draft mark42— the pull request number
Related commands
- gh pr create — Open a pull request from the current branch
- gh pr review — Approve a pull request or ask for changes
- gh pr checks — Check the CI status of a pull request