Skip to content

Commit

Permalink
Add Repository to the RepositoryVulnerabilityAlertEvent struct (googl…
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanwi authored Apr 20, 2020
1 parent f6d29a1 commit 1a79474
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions github/event_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -819,6 +819,9 @@ type RepositoryVulnerabilityAlertEvent struct {
DismissReason *string `json:"dismiss_reason,omitempty"`
DismissedAt *Timestamp `json:"dismissed_at,omitempty"`
} `json:"alert,omitempty"`

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

// StarEvent is triggered when a star is added or removed from a repository.
Expand Down
8 changes: 8 additions & 0 deletions github/github-accessors.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1a79474

Please sign in to comment.