From 2d5aa68fc6fdd225ccf0489f36a5888ac82196a3 Mon Sep 17 00:00:00 2001 From: Alexey Skriptsov Date: Thu, 5 Oct 2023 13:11:46 -0700 Subject: [PATCH] add Installation struct to WorkflowJobPayload (#185) --- github/payload.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/github/payload.go b/github/payload.go index 8b95ba8..d3e343f 100644 --- a/github/payload.go +++ b/github/payload.go @@ -6648,6 +6648,9 @@ type WorkflowJobPayload struct { Type string `json:"type"` SiteAdmin bool `json:"site_admin"` } `json:"sender"` + Installation struct { + ID int64 `json:"id"` + } `json:"installation,omitempty"` } // WorkflowRunPayload contains the information for GitHub's workflow run event