From 3b9f271c69cf4cd27ee9b26caa3cf93665c9ce1d Mon Sep 17 00:00:00 2001 From: Glenn Lewis <6598971+gmlewis@users.noreply.github.com> Date: Fri, 4 Mar 2022 10:45:12 -0500 Subject: [PATCH] Update github/event_types.go Co-authored-by: Simon Schneider <10846939+raynigon@users.noreply.github.com> --- github/event_types.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/github/event_types.go b/github/event_types.go index 473db9f73c..de729c06c3 100644 --- a/github/event_types.go +++ b/github/event_types.go @@ -1250,6 +1250,8 @@ type WorkflowRunEvent struct { } // SecurityAdvisory represents the advisory object in SecurityAdvisoryEvent payload. +// +// GitHub API docs: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#security_advisory type SecurityAdvisory struct { GHSAID *string `json:"ghsa_id,omitempty"` Summary *string `json:"summary,omitempty"`