GitHub PR Ready
When to use
- The user asks to mark a draft PR as ready for review.
- You need to convert a PR back to draft (
--undo).
Inputs to confirm
- PR number/URL/branch (or use current branch PR).
- Whether to mark ready or undo.
Workflow
- Verify auth:
gh --version gh auth status - Mark ready or undo:
gh pr ready 123 gh pr ready 123 --undo
Examples
# Mark current branch PR as ready
~ gh pr ready
Notes
- Without an argument,
gh pr readytargets the PR for the current branch.
References
- GitHub CLI manual: https://cli.github.com/manual/
gh pr ready --help