Skip to content

Commit c5583e7

Browse files
authored
Add installation to CodeScanningAlertEvent type (#2609)
Fixes: #2608.
1 parent 4a5aa8c commit c5583e7

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed

github/event_types.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1389,4 +1389,6 @@ type CodeScanningAlertEvent struct {
13891389
Repo *Repository `json:"repository,omitempty"`
13901390
Org *Organization `json:"organization,omitempty"`
13911391
Sender *User `json:"sender,omitempty"`
1392+
1393+
Installation *Installation `json:"installation,omitempty"`
13921394
}

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)