Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Installation Struct Missing for CommitCommentPayload, IssueCommentPayload and IssuesPayload #178

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions github/payload.go
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,9 @@ type CommitCommentPayload struct {
Type string `json:"type"`
SiteAdmin bool `json:"site_admin"`
} `json:"sender"`
Installation *struct {
ID int64 `json:"id"`
} `json:"installation"`
}

// CreatePayload contains the information for GitHub's create hook event
Expand Down Expand Up @@ -2117,6 +2120,9 @@ type IssueCommentPayload struct {
Type string `json:"type"`
SiteAdmin bool `json:"site_admin"`
} `json:"sender"`
Installation *struct {
ID int64 `json:"id"`
} `json:"installation"`
}

// IssuesPayload contains the information for GitHub's issues hook event
Expand Down Expand Up @@ -2289,6 +2295,9 @@ type IssuesPayload struct {
Type string `json:"type"`
SiteAdmin bool `json:"site_admin"`
} `json:"sender"`
Installation *struct {
ID int64 `json:"id"`
} `json:"installation"`
Assignee *Assignee `json:"assignee"`
Label *Label `json:"label"`
}
Expand Down