Skip to content

Commit

Permalink
Add milestone field to IssuesEvent
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-simons committed Feb 8, 2023
1 parent c855eb5 commit 55c3e39
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 55c3e39

Please sign in to comment.