Open markfeinstein opened 3 weeks ago
It's :Octo pr create draft
.
Thanks @austinbutler.
This gets me most of the way there, it lets me create a draft, but doesn't seem to give me a chance to fill out the PR template before the draft is created. Which results in some of the checks failing before I can update the PR description with no obvious way to re-run them from Octo.
Issue Description
Type: feature request
I would like to be able to create PRs in a draft state.
Describe what happened (or what feature you want)
The only option currently available seems to be creating a PR in the submitted/ready-to-review state. It would be great to be able to create a PR as a draft as well.
Describe what you expected to happen
I would like to be able to use
Octo pr draft
or a similar command to create a draft without having an already open PR, so that I can fill out the PR template and make sure automated checks are passing.How to reproduce it (as minimally and precisely as possible)
Octo pr draft
in a branch that doesn't have an open PRTell us your environment
In my environment, submitting a PR automatically alerts team members to review it and triggers automated checks for the PR. The checks include linting, testing, and validation that the PR template was properly filled out. Since the PR is submitted before I've had a chance to fill out the template or check the status of the automated checks, this frequently results in people being alerted for and reviewing a PR with missing descriptions or failing checks.