Skip to content

Commit

Permalink
Add missing Sender field in RepositoryVulnerabilityAlertEvent
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed May 15, 2022
1 parent 8947206 commit dbe48ff
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions github/event_types.go
Expand Up @@ -1058,14 +1058,17 @@ type RepositoryVulnerabilityAlertEvent struct {
// Action is the action that was performed. Possible values are: "create", "dismiss", "resolve".
Action *string `json:"action,omitempty"`

//The security alert of the vulnerable dependency.
// The security alert of the vulnerable dependency.
Alert *RepositoryVulnerabilityAlert `json:"alert,omitempty"`

//The repository of the vulnerable dependency.
// The repository of the vulnerable dependency.
Repository *Repository `json:"repository,omitempty"`

// The following fields are only populated by Webhook events.
Installation *Installation `json:"installation,omitempty"`

// The user that triggered the event.
Sender *User `json:"sender,omitempty"`
}

// RepositoryVulnerabilityAlert represents a repository security alert.
Expand Down

0 comments on commit dbe48ff

Please sign in to comment.