File tree 3 files changed +12
-10
lines changed
3 files changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -380,7 +380,7 @@ func TestWebhooks(t *testing.T) {
380
380
filename : "../testdata/github/project-card.json" ,
381
381
headers : http.Header {
382
382
"X-Github-Event" : []string {"project_card" },
383
- "X-Hub-Signature" : []string {"sha1=495dec0d6449d16b71f2ddcd37d595cb9b04b1d8 " },
383
+ "X-Hub-Signature" : []string {"sha1=f5ed1572b04f0e03c8d5f5e3f7fa63737bef76d7 " },
384
384
},
385
385
},
386
386
{
Original file line number Diff line number Diff line change @@ -2986,13 +2986,14 @@ type PingPayload struct {
2986
2986
type ProjectCardPayload struct {
2987
2987
Action string `json:"action"`
2988
2988
ProjectCard struct {
2989
- URL string `json:"url"`
2990
- ColumnURL string `json:"column_url"`
2991
- ColumnID int64 `json:"column_id"`
2992
- ID int64 `json:"id"`
2993
- NodeID string `json:"node_id"`
2994
- Note * string `json:"note"`
2995
- Creator struct {
2989
+ URL string `json:"url"`
2990
+ ProjectURL string `json:"project_url"`
2991
+ ColumnURL string `json:"column_url"`
2992
+ ColumnID int64 `json:"column_id"`
2993
+ ID int64 `json:"id"`
2994
+ NodeID string `json:"node_id"`
2995
+ Note * string `json:"note"`
2996
+ Creator struct {
2996
2997
Login string `json:"login"`
2997
2998
ID int64 `json:"id"`
2998
2999
NodeID string `json:"node_id"`
Original file line number Diff line number Diff line change 2
2
"action" : " created" ,
3
3
"project_card" : {
4
4
"url" : " https://api.github.com/projects/columns/cards/1266091" ,
5
+ "project_url" : " https://api.github.com/projects/6047634" ,
5
6
"column_url" : " https://api.github.com/projects/columns/515520" ,
6
7
"column_id" : 515520 ,
7
8
"id" : 1266091 ,
27
28
},
28
29
"created_at" : 1483569391 ,
29
30
"updated_at" : 1483569391 ,
30
- "content_url" : " https://api.github.com/repos/baxterthehacker/public-repo/issues/2"
31
+ "content_url" : " https://api.github.com/repos/baxterthehacker/public-repo/issues/2"
31
32
},
32
33
"repository" : {
33
34
"id" : 35129377 ,
145
146
"type" : " User" ,
146
147
"site_admin" : false
147
148
}
148
- }
149
+ }
You can’t perform that action at this time.
0 commit comments