From 71b069e705ca3b86935cd70ad0528b25b914570b Mon Sep 17 00:00:00 2001 From: John Maguire Date: Thu, 20 Jun 2019 14:37:28 +0100 Subject: [PATCH] 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