Gh Pr Ready

Mark a pull request as ready for review (or convert back to draft) using gh CLI.

dceoy 606bc49 792 B Updated

File contents

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

  1. Verify auth:
    gh --version
    gh auth status
    
  2. 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 ready targets the PR for the current branch.

References

dceoy/github-cli-agent-skills/tree/main/skills/gh-pr-ready commit 606bc49167

Frequently asked questions

npx skillmds@latest add dceoy/gh-pr-ready