Skip to content

Commit 1e5c9cf

Browse files
committed
Add Repository field to DependabotAlert (#2769)
1 parent daa96df commit 1e5c9cf

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

github/dependabot_alerts.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ type DependabotAlert struct {
6262
DismissedReason *string `json:"dismissed_reason,omitempty"`
6363
DismissedComment *string `json:"dismissed_comment,omitempty"`
6464
FixedAt *Timestamp `json:"fixed_at,omitempty"`
65+
Repository *Repository `json:"repository,omitempty"`
6566
}
6667

6768
// ListAlertsOptions specifies the optional parameters to the DependabotService.ListRepoAlerts

github/github-accessors.go

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

github/github-accessors_test.go

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)