Skip to content

Commit cc33de4

Browse files
author
Dean Karn
authored
Merge pull request #85 from riley-martine/v5
Move node_id field from status to status.commit in StatusEvent
2 parents c86c1f1 + a9a686f commit cc33de4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

github/payload.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5335,7 +5335,6 @@ type SecurityAdvisoryPayload struct {
53355335
// StatusPayload contains the information for GitHub's status hook event
53365336
type StatusPayload struct {
53375337
ID int64 `json:"id"`
5338-
NodeID string `json:"node_id"`
53395338
Sha string `json:"sha"`
53405339
Name string `json:"name"`
53415340
TargetURL *string `json:"target_url"`
@@ -5344,6 +5343,7 @@ type StatusPayload struct {
53445343
State string `json:"state"`
53455344
Commit struct {
53465345
Sha string `json:"sha"`
5346+
NodeID string `json:"node_id"`
53475347
Commit struct {
53485348
Author struct {
53495349
Name string `json:"name"`

0 commit comments

Comments
 (0)