From 975d2b9ae476e3cc30ea5e031cbaeb532119b0fb Mon Sep 17 00:00:00 2001 From: rr-nick-tan Date: Sat, 18 Sep 2021 20:32:59 -0700 Subject: [PATCH] feat: add Installation field in WorkflowRunEvent --- github/event_types.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/github/event_types.go b/github/event_types.go index 384aa3a1e5f..f3b4bd2cbe3 100644 --- a/github/event_types.go +++ b/github/event_types.go @@ -1106,7 +1106,8 @@ type WorkflowRunEvent struct { WorkflowRun *WorkflowRun `json:"workflow_run,omitempty"` // The following fields are only populated by Webhook events. - Org *Organization `json:"organization,omitempty"` - Repo *Repository `json:"repository,omitempty"` - Sender *User `json:"sender,omitempty"` + Org *Organization `json:"organization,omitempty"` + Repo *Repository `json:"repository,omitempty"` + Sender *User `json:"sender,omitempty"` + Installation *Installation `json:"installation,omitempty"` }