Skip to content

Commit

Permalink
Add milestone field to IssuesEvent (#2663)
Browse files Browse the repository at this point in the history
Fixes: #2662.
  • Loading branch information
matt-simons committed Feb 9, 2023
1 parent c855eb5 commit e26cdd7
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions github/event_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,7 @@ type IssuesEvent struct {
Repo *Repository `json:"repository,omitempty"`
Sender *User `json:"sender,omitempty"`
Installation *Installation `json:"installation,omitempty"`
Milestone *Milestone `json:"milestone,omitempty"`
}

// LabelEvent is triggered when a repository's label is created, edited, or deleted.
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.

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 e26cdd7

Please sign in to comment.