Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a1051fd871 | |||
| ac198c9e6a | |||
| e157e8e469 | |||
| b2ca22db96 |
@@ -1,6 +1,6 @@
|
||||
Library webhooks
|
||||
================
|
||||
<img align="right" src="https://raw.githubusercontent.com/go-playground/webhooks/v5/logo.png">
|
||||
<img align="right" src="https://raw.githubusercontent.com/go-playground/webhooks/v5/logo.png">
|
||||
[](https://travis-ci.org/go-playground/webhooks)
|
||||
[](https://coveralls.io/github/go-playground/webhooks?branch=v5)
|
||||
[](https://goreportcard.com/report/go-playground/webhooks)
|
||||
|
||||
@@ -1493,6 +1493,7 @@ type IssuesPayload struct {
|
||||
SiteAdmin bool `json:"site_admin"`
|
||||
} `json:"sender"`
|
||||
Assignee *Assignee `json:"assignee"`
|
||||
Label *Label `json:"label"`
|
||||
}
|
||||
|
||||
// LabelPayload contains the information for GitHub's label hook event
|
||||
@@ -3748,6 +3749,7 @@ type PullRequestReviewCommentPayload struct {
|
||||
Href string `json:"href"`
|
||||
} `json:"pull_request"`
|
||||
} `json:"_links"`
|
||||
InReplyToID int64 `json:"in_reply_to_id"`
|
||||
} `json:"comment"`
|
||||
PullRequest struct {
|
||||
URL string `json:"url"`
|
||||
@@ -5187,3 +5189,12 @@ type Parent struct {
|
||||
URL string `json:"url"`
|
||||
Sha string `json:"sha"`
|
||||
}
|
||||
|
||||
// Label contains Issue's Label information
|
||||
type Label struct {
|
||||
ID int64 `json:"id"`
|
||||
URL string `json:"url"`
|
||||
Name string `json:"name"`
|
||||
Color string `json:"color"`
|
||||
Default bool `json:"default"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user