-
Notifications
You must be signed in to change notification settings - Fork 401
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for draft PRs #926
Comments
There is now support for seeing draft status in responses to the REST API so I can get started on adding this. |
This adds response data support for the `draft` status of a pull request. This was recently [added](https://github.blog/2019-02-14-introducing-draft-pull-requests/) to the platform and API. A PullRequest can be marked as a `draft` which will prevent merging and delay triggering automatic pull request reviews from `CODEOWNERS`. Support for receiving the data is still in preview so new headers have to be littered throughout the codebase. Resolves: sigmavirus24#926
@omgjlk anything missing on this PR? It is still draft. |
Isn't the support to create new draft PR's still missing in github3.py/src/github3/repos/repo.py Lines 1161 to 1205 in 43aa2d6
Supported in Github API's via |
GitHub announced draft Pull Request status. Eventually they will add new fields to pull request listings and GETs to include the draft status, and allow setting a PR as draft when creating one. We'll want to support those things here!
I'll update this issue when the REST APIs are updated.
The text was updated successfully, but these errors were encountered: