Github release the draft PR a while ago.
I have a normal PR and I wanted to change that to a draft PR. How can I do that?
Github release the draft PR a while ago.
I have a normal PR and I wanted to change that to a draft PR. How can I do that?
This is possible now, with an option below "Reviewers" section in PR.
See: Feature Request: Switch from ready to draft in pull requests
To answer @marsandback comment Draft PR --> PR, just click the Ready for review
The feature is now available!
See: Feature Request: Switch from ready to draft in pull requests
You can't change now, but you can follow the feature request from GitHub Community:
Although as this answer is created you currently can't change the stage of a normal pull request into a draft. However, You can prefix the pull request with [WIP]
e.g:
[WIP] Allow changing stage of an open pull request to draft.
It is pretty common in open source to claim an issue this way.
Check contributing guidelines on the repository incase they have specific guidelines to follow.
Here is mediawiki guidelines for code contribution
https://www.mediawiki.org/wiki/Developer_Wishlist/2017/Code_Contribution_(Process,_Guidelines,_etc.)
As it's been pointed out, this is possible by going to the pull request itself. Under the reviewers section on the right, look for the text: "Still in progress? Convert to draft", where "convert to draft" is a hyperlink. Click on it, confirm, and it's done.
See screenshot in the documentation.