From c3faee81c0efb20d6153f9675584e6d57a22511a Mon Sep 17 00:00:00 2001 From: Pavel Herasimau Date: Wed, 21 Aug 2019 17:41:58 +0300 Subject: [PATCH] add installation to release payload --- github/payload.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/github/payload.go b/github/payload.go index 2f6e446..d862906 100644 --- a/github/payload.go +++ b/github/payload.go @@ -5139,6 +5139,9 @@ type ReleasePayload struct { Type string `json:"type"` SiteAdmin bool `json:"site_admin"` } `json:"sender"` + Installation struct { + ID int `json:"id"` + } `json:"installation"` } // RepositoryPayload contains the information for GitHub's repository hook event