Merge pull request #108 from yinxulai/v5

add changes field in to PullRequestPayload of GitHub.
This commit is contained in:
Anton Krivenko
2020-05-02 17:14:57 +03:00
committed by GitHub
+8
View File
@@ -4006,6 +4006,14 @@ type PullRequestPayload struct {
Type string `json:"type"`
SiteAdmin bool `json:"site_admin"`
} `json:"sender"`
Changes *struct {
Title *struct {
From string `json:"from"`
} `json:"title"`
Body *struct {
From string `json:"from"`
} `json:"body"`
} `json:"changes"`
Assignee *Assignee `json:"assignee"`
RequestedReviewer *Assignee `json:"requested_reviewer"`
RequestedTeam struct {