From 66bfeb55b9631f09e4da772819bfbcf42260169e Mon Sep 17 00:00:00 2001 From: Julio Jimenez Date: Sat, 6 Mar 2021 14:15:31 -0500 Subject: [PATCH] fix: Add Installation struct to CheckSuitePayload and CheckRunPayload --- github/payload.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/github/payload.go b/github/payload.go index 9a377e8..5e8370d 100644 --- a/github/payload.go +++ b/github/payload.go @@ -187,6 +187,9 @@ type CheckRunPayload struct { Watchers int64 `json:"watchers"` DefaultBranch string `json:"default_branch"` } `json:"repository"` + Installation struct { + ID int64 `json:"id"` + } `json:"installation,omitempty"` Sender struct { Login string `json:"login"` ID int64 `json:"id"` @@ -359,6 +362,9 @@ type CheckSuitePayload struct { Watchers int64 `json:"watchers"` DefaultBranch string `json:"default_branch"` } `json:"repository"` + Installation struct { + ID int64 `json:"id"` + } `json:"installation,omitempty"` Sender struct { Login string `json:"login"` ID int64 `json:"id"`