File tree 3 files changed +3
-1
lines changed
3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -420,7 +420,7 @@ func TestWebhooks(t *testing.T) {
420
420
filename : "../testdata/github/pull-request.json" ,
421
421
headers : http.Header {
422
422
"X-Github-Event" : []string {"pull_request" },
423
- "X-Hub-Signature" : []string {"sha1=35712c8d2bc197b7d07621dcf20d2fb44620508f " },
423
+ "X-Hub-Signature" : []string {"sha1=88972f972db301178aa13dafaf112d26416a15e6 " },
424
424
},
425
425
},
426
426
{
Original file line number Diff line number Diff line change @@ -3590,6 +3590,7 @@ type PullRequestPayload struct {
3590
3590
Assignee * Assignee `json:"assignee"`
3591
3591
Assignees []* Assignee `json:"assignees"`
3592
3592
Milestone * Milestone `json:"milestone"`
3593
+ Draft bool `json:"draft"`
3593
3594
CommitsURL string `json:"commits_url"`
3594
3595
ReviewCommentsURL string `json:"review_comments_url"`
3595
3596
ReviewCommentURL string `json:"review_comment_url"`
Original file line number Diff line number Diff line change 39
39
"merge_commit_sha" : null ,
40
40
"assignee" : null ,
41
41
"milestone" : null ,
42
+ "draft" : false ,
42
43
"commits_url" : " https://api.github.com/repos/baxterthehacker/public-repo/pulls/1/commits" ,
43
44
"review_comments_url" : " https://api.github.com/repos/baxterthehacker/public-repo/pulls/1/comments" ,
44
45
"review_comment_url" : " https://api.github.com/repos/baxterthehacker/public-repo/pulls/comments{/number}" ,
You can’t perform that action at this time.
0 commit comments