Skip to content

Commit e26cdd7

Browse files
authored
Add milestone field to IssuesEvent (#2663)
Fixes: #2662.
1 parent c855eb5 commit e26cdd7

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

github/event_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -485,6 +485,7 @@ type IssuesEvent struct {
485485
Repo *Repository `json:"repository,omitempty"`
486486
Sender *User `json:"sender,omitempty"`
487487
Installation *Installation `json:"installation,omitempty"`
488+
Milestone *Milestone `json:"milestone,omitempty"`
488489
}
489490

490491
// LabelEvent is triggered when a repository's label is created, edited, or deleted.

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)