Skip to content

Commit

Permalink
payload: add Label to PullRequestPayload
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelkarp committed Aug 13, 2017
1 parent a5141d6 commit e120e3b
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 e120e3b

Please sign in to comment.