Skip to content

Commit

Permalink
Add installation to CodeScanningAlertEvent type (#2609)
Browse files Browse the repository at this point in the history
Fixes: #2608.
  • Loading branch information
LuBingtan committed Dec 28, 2022
1 parent 4a5aa8c commit c5583e7
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
2 changes: 2 additions & 0 deletions github/event_types.go
Expand Up @@ -1389,4 +1389,6 @@ type CodeScanningAlertEvent struct {
Repo *Repository `json:"repository,omitempty"`
Org *Organization `json:"organization,omitempty"`
Sender *User `json:"sender,omitempty"`

Installation *Installation `json:"installation,omitempty"`
}
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.

7 changes: 7 additions & 0 deletions github/github-accessors_test.go

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

0 comments on commit c5583e7

Please sign in to comment.