Merge pull request #16 from samuelkarp/pr-label

payload: add Label to PullRequestPayload
This commit is contained in:
Dean Karn
2017-08-17 08:34:59 -07:00
committed by GitHub
+7
View File
@@ -2940,6 +2940,13 @@ type PullRequestPayload struct {
Deletions int64 `json:"deletions"`
ChangedFiles int64 `json:"changed_files"`
} `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 {
ID int64 `json:"id"`
Name string `json:"name"`