Merge branch 'v5' into v5
This commit is contained in:
@@ -380,7 +380,7 @@ func TestWebhooks(t *testing.T) {
|
||||
filename: "../testdata/github/project-card.json",
|
||||
headers: http.Header{
|
||||
"X-Github-Event": []string{"project_card"},
|
||||
"X-Hub-Signature": []string{"sha1=495dec0d6449d16b71f2ddcd37d595cb9b04b1d8"},
|
||||
"X-Hub-Signature": []string{"sha1=f5ed1572b04f0e03c8d5f5e3f7fa63737bef76d7"},
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -420,7 +420,7 @@ func TestWebhooks(t *testing.T) {
|
||||
filename: "../testdata/github/pull-request.json",
|
||||
headers: http.Header{
|
||||
"X-Github-Event": []string{"pull_request"},
|
||||
"X-Hub-Signature": []string{"sha1=35712c8d2bc197b7d07621dcf20d2fb44620508f"},
|
||||
"X-Hub-Signature": []string{"sha1=88972f972db301178aa13dafaf112d26416a15e6"},
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
+9
-7
@@ -2999,13 +2999,14 @@ type PingPayload struct {
|
||||
type ProjectCardPayload struct {
|
||||
Action string `json:"action"`
|
||||
ProjectCard struct {
|
||||
URL string `json:"url"`
|
||||
ColumnURL string `json:"column_url"`
|
||||
ColumnID int64 `json:"column_id"`
|
||||
ID int64 `json:"id"`
|
||||
NodeID string `json:"node_id"`
|
||||
Note *string `json:"note"`
|
||||
Creator struct {
|
||||
URL string `json:"url"`
|
||||
ProjectURL string `json:"project_url"`
|
||||
ColumnURL string `json:"column_url"`
|
||||
ColumnID int64 `json:"column_id"`
|
||||
ID int64 `json:"id"`
|
||||
NodeID string `json:"node_id"`
|
||||
Note *string `json:"note"`
|
||||
Creator struct {
|
||||
Login string `json:"login"`
|
||||
ID int64 `json:"id"`
|
||||
NodeID string `json:"node_id"`
|
||||
@@ -3602,6 +3603,7 @@ type PullRequestPayload struct {
|
||||
Assignee *Assignee `json:"assignee"`
|
||||
Assignees []*Assignee `json:"assignees"`
|
||||
Milestone *Milestone `json:"milestone"`
|
||||
Draft bool `json:"draft"`
|
||||
CommitsURL string `json:"commits_url"`
|
||||
ReviewCommentsURL string `json:"review_comments_url"`
|
||||
ReviewCommentURL string `json:"review_comment_url"`
|
||||
|
||||
Reference in New Issue
Block a user