From 71b069e705ca3b86935cd70ad0528b25b914570b Mon Sep 17 00:00:00 2001 From: John Maguire Date: Thu, 20 Jun 2019 14:37:28 +0100 Subject: [PATCH 1/2] Add installation ID to PullRequestReview --- github/payload.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/github/payload.go b/github/payload.go index 0e1bcdf..37836dc 100644 --- a/github/payload.go +++ b/github/payload.go @@ -4342,6 +4342,9 @@ type PullRequestReviewPayload struct { Type string `json:"type"` SiteAdmin bool `json:"site_admin"` } `json:"sender"` + Installation struct { + ID int64 `json:"id"` + } `json:"installation"` } // PullRequestReviewCommentPayload contains the information for GitHub's pull_request_review_comments hook event From 905cac71c9aed64bbea44aba55f22f3c1c7739c2 Mon Sep 17 00:00:00 2001 From: John Maguire Date: Thu, 20 Jun 2019 14:38:27 +0100 Subject: [PATCH 2/2] Add installation ID to PullRequestReviewComment --- github/payload.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/github/payload.go b/github/payload.go index 37836dc..edab024 100644 --- a/github/payload.go +++ b/github/payload.go @@ -4809,6 +4809,9 @@ type PullRequestReviewCommentPayload struct { Type string `json:"type"` SiteAdmin bool `json:"site_admin"` } `json:"sender"` + Installation struct { + ID int64 `json:"id"` + } `json:"installation"` } // PushPayload contains the information for GitHub's push hook event