Skip to content

Commit cd89a10

Browse files
author
Dean Karn
authored
Merge pull request #16 from samuelkarp/pr-label
payload: add Label to PullRequestPayload
2 parents a5141d6 + e120e3b commit cd89a10

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

github/payload.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2940,6 +2940,13 @@ type PullRequestPayload struct {
29402940
Deletions int64 `json:"deletions"`
29412941
ChangedFiles int64 `json:"changed_files"`
29422942
} `json:"pull_request"`
2943+
Label struct {
2944+
ID int64 `json:"id"`
2945+
URL string `json:"url"`
2946+
Name string `json:"name"`
2947+
Color string `json:"color"`
2948+
Default bool `json:"default"`
2949+
} `json:"label"`
29432950
Repository struct {
29442951
ID int64 `json:"id"`
29452952
Name string `json:"name"`

0 commit comments

Comments
 (0)