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

* EditPull: add option to change base

Close #11552
This commit is contained in:
6543 authored and GitHub committed 2020-06-07 20:13:40 +01:00
1 parent 880ae454db
commit 5814079bf5
4 files changed
+52 -3

No files matched your search

+1
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"`