Is there a URL equivalent to hub's "-dpo" for "Create pull request"?

Github’s hub cli tool supports creating draft PRs using the -dpo flag, e.g. hub pull-request -dpo.

Is there a URL or query string equivalent to this?


expand=1 alters the controls presented to the user, dpo=1 is just made up by me as an example of what I’m looking for

The ideal effect of such a flag would be that the action on the “Create pull request” button defaults to “Create draft pull request”.

But anything roughly along these lines would be great!

1 Like

Hi @rtets,

Thanks for this feedback! We’re always working to improve GitHub, and we consider every suggestion we receive. I’ve logged your feature request in our internal feature request list. Though I can’t guarantee anything or share a timeline for this, I can tell you that it’s been shared with the appropriate teams for consideration.

Please let me know if you have any other questions.