Add option to API to update PullRequest base branch (#11666)

* EditPull: add option to change base

Close #11552
This commit is contained in:
6543 2020-06-07 21:13:40 +02:00 committed by GitHub
parent 880ae454db
commit 5814079bf5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 52 additions and 3 deletions

View file

@ -83,6 +83,7 @@ type CreatePullRequestOption struct {
type EditPullRequestOption struct {
Title string `json:"title"`
Body string `json:"body"`
Base string `json:"base"`
Assignee string `json:"assignee"`
Assignees []string `json:"assignees"`
Milestone int64 `json:"milestone"`