pwntester / octo.nvim

Edit and review GitHub issues and pull requests from the comfort of your favorite editor
MIT License
2.25k stars 124 forks source link

feat: add pr draft command to send a ready PR back to draft #452

Closed metalelf0 closed 8 months ago

metalelf0 commented 8 months ago

Describe what this PR does / why we need it

This PR adds an Octo pr draft command to send a "ready for review" PR back to draft status.

Does this pull request fix one issue?

Fixes #451 .

Describe how you did it

I copied the pr ready command related code, and added the --undo switch as specified in the gh documentation.

Describe how to verify it

Open a PR with Octo pr open, and issue Octo pr draft. It will be sent back to draft.

Special notes for reviews

pwntester commented 8 months ago

Thanks!