-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Description
GitHub Developer API announcement: https://developer.github.com/changes/2019-02-14-draft-pull-requests/.
It looks like we'll need the following for this issue:
- a new media type (
application/vnd.github.shadow-cat-preview+json
) must be added togithub.go
, - this media type must be added to the header of calls to all affected endpoints (list PRs, get a single PR),
- a new
Draft
field must be added to thePullRequest
struct that is returned from list/get PR endpoints, and also toEdit: This doesn't need to be done; this isn't a part of the preview API at this time.NewPullRequest
struct used for creating a PR,theEdit: This doesn't need to be done; this isn't a part of the preview API at this time.PullRequestsService.Edit
needs to be updated to allow the newDraft
field to be passed
This would be a great PR for any new contributor to this repo or a new Go developer. All contributions are greatly appreciated!
Feel free to volunteer for any issue and the issue can be assigned to you so that others don't attempt to duplicate the work.
Please check out our CONTRIBUTING.md guide to get started.
Thank you!
gmlewisgmlewis