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

* EditPull: add option to change base

Close #11552

Co-authored-by: Lauris BH <lauris@nix.lv>
This commit is contained in:
6543andLauris BH authored and GitHub committed 2020-06-07 23:20:53 +03:00
1 parent 20951c5c21
commit 78f0b5b92b
4 files changed
+52 -3

No files matched your search

+1
View File
@@ -82,6 +82,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"`