I started using the new draft pull request feature on Github, but I'm wondering if I can turn a legit pull request back into a draft pull request in the case I accidentally make a pull request.
You need the rights to reopen pull requests on the repository. The pull request hasn't been merged, just closed. Go to Pull requests add filter `is:closed` choose PR you want to reopen. Select from checkbox and mark as Open.
To edit a pull request, you push new changes into the same branch that was used for the pull request. Github will update everything else automatically.
When you're ready to get feedback on your pull request, you can mark your draft pull request as ready for review. Marking a pull request as ready for review will request reviews from any code owners.
As stated on Twitter from the GitHub Support, there is currently no way to do so.
There is not currently a way to convert an existing pull request into a draft. Thanks for the suggestion! I've passed it on to the appropriate team. Thanks!
Update:
It is now possible to turn a pull request into a draft pull request. You can read about it in the Github Help Documentation.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With