Skip to content

Commit

Permalink
Merge pull request #16 from samuelkarp/pr-label
Browse files Browse the repository at this point in the history
payload: add Label to PullRequestPayload
  • Loading branch information
deankarn authored Aug 17, 2017
2 parents a5141d6 + e120e3b commit cd89a10
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions github/payload.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down

0 comments on commit cd89a10

Please sign in to comment.