payload: add Label to PullRequestPayload

This commit is contained in:
Samuel Karp
2017-08-12 17:22:07 -07:00
parent a5141d656b
commit e120e3b3ba
+7
View File
@@ -2940,6 +2940,13 @@ type PullRequestPayload struct {
Deletions int64 `json:"deletions"` Deletions int64 `json:"deletions"`
ChangedFiles int64 `json:"changed_files"` ChangedFiles int64 `json:"changed_files"`
} `json:"pull_request"` } `json:"pull_request"`
Label struct {
ID int64 `json:"id"`
URL string `json:"url"`
Name string `json:"name"`
Color string `json:"color"`
Default bool `json:"default"`
} `json:"label"`
Repository struct { Repository struct {
ID int64 `json:"id"` ID int64 `json:"id"`
Name string `json:"name"` Name string `json:"name"`