We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dee47c0 commit b2ca22dCopy full SHA for b2ca22d
github/payload.go
@@ -1493,6 +1493,7 @@ type IssuesPayload struct {
1493
SiteAdmin bool `json:"site_admin"`
1494
} `json:"sender"`
1495
Assignee *Assignee `json:"assignee"`
1496
+ Label *Label `json:"label"`
1497
}
1498
1499
// LabelPayload contains the information for GitHub's label hook event
@@ -5187,3 +5188,12 @@ type Parent struct {
5187
5188
URL string `json:"url"`
5189
Sha string `json:"sha"`
5190
5191
+
5192
+// Label contains Issue's Label information
5193
+type Label struct {
5194
+ ID int64 `json:"id"`
5195
+ URL string `json:"url"`
5196
+ Name string `json:"name"`
5197
+ Color string `json:"color"`
5198
+ Default bool `json:"default"`
5199
+}
0 commit comments