diff --git a/github/payload.go b/github/payload.go index a544fbb..8b95ba8 100644 --- a/github/payload.go +++ b/github/payload.go @@ -533,6 +533,9 @@ type CommitCommentPayload struct { Type string `json:"type"` SiteAdmin bool `json:"site_admin"` } `json:"sender"` + Installation *struct { + ID int64 `json:"id"` + } `json:"installation"` } // CreatePayload contains the information for GitHub's create hook event @@ -2117,6 +2120,9 @@ type IssueCommentPayload struct { Type string `json:"type"` SiteAdmin bool `json:"site_admin"` } `json:"sender"` + Installation *struct { + ID int64 `json:"id"` + } `json:"installation"` } // IssuesPayload contains the information for GitHub's issues hook event @@ -2289,6 +2295,9 @@ type IssuesPayload struct { Type string `json:"type"` SiteAdmin bool `json:"site_admin"` } `json:"sender"` + Installation *struct { + ID int64 `json:"id"` + } `json:"installation"` Assignee *Assignee `json:"assignee"` Label *Label `json:"label"` }