@@ -28,45 +28,46 @@ type Event string
2828
2929// GitHub hook types
3030const (
31- CheckRunEvent Event = "check_run"
32- CheckSuiteEvent Event = "check_suite"
33- CommitCommentEvent Event = "commit_comment"
34- CreateEvent Event = "create"
35- DeleteEvent Event = "delete"
36- DeploymentEvent Event = "deployment"
37- DeploymentStatusEvent Event = "deployment_status"
38- ForkEvent Event = "fork"
39- GollumEvent Event = "gollum"
40- InstallationEvent Event = "installation"
41- InstallationRepositoriesEvent Event = "installation_repositories"
42- IntegrationInstallationEvent Event = "integration_installation"
43- IssueCommentEvent Event = "issue_comment"
44- IssuesEvent Event = "issues"
45- LabelEvent Event = "label"
46- MemberEvent Event = "member"
47- MembershipEvent Event = "membership"
48- MilestoneEvent Event = "milestone"
49- MetaEvent Event = "meta"
50- OrganizationEvent Event = "organization"
51- OrgBlockEvent Event = "org_block"
52- PageBuildEvent Event = "page_build"
53- PingEvent Event = "ping"
54- ProjectCardEvent Event = "project_card"
55- ProjectColumnEvent Event = "project_column"
56- ProjectEvent Event = "project"
57- PublicEvent Event = "public"
58- PullRequestEvent Event = "pull_request"
59- PullRequestReviewEvent Event = "pull_request_review"
60- PullRequestReviewCommentEvent Event = "pull_request_review_comment"
61- PushEvent Event = "push"
62- ReleaseEvent Event = "release"
63- RepositoryEvent Event = "repository"
64- RepositoryVulnerabilityAlertEvent Event = "repository_vulnerability_alert"
65- SecurityAdvisoryEvent Event = "security_advisory"
66- StatusEvent Event = "status"
67- TeamEvent Event = "team"
68- TeamAddEvent Event = "team_add"
69- WatchEvent Event = "watch"
31+ CheckRunEvent Event = "check_run"
32+ CheckSuiteEvent Event = "check_suite"
33+ CommitCommentEvent Event = "commit_comment"
34+ CreateEvent Event = "create"
35+ DeleteEvent Event = "delete"
36+ DeploymentEvent Event = "deployment"
37+ DeploymentStatusEvent Event = "deployment_status"
38+ ForkEvent Event = "fork"
39+ GollumEvent Event = "gollum"
40+ InstallationEvent Event = "installation"
41+ InstallationRepositoriesEvent Event = "installation_repositories"
42+ IntegrationInstallationEvent Event = "integration_installation"
43+ IntegrationInstallationRepositoriesEvent Event = "integration_installation_repositories"
44+ IssueCommentEvent Event = "issue_comment"
45+ IssuesEvent Event = "issues"
46+ LabelEvent Event = "label"
47+ MemberEvent Event = "member"
48+ MembershipEvent Event = "membership"
49+ MilestoneEvent Event = "milestone"
50+ MetaEvent Event = "meta"
51+ OrganizationEvent Event = "organization"
52+ OrgBlockEvent Event = "org_block"
53+ PageBuildEvent Event = "page_build"
54+ PingEvent Event = "ping"
55+ ProjectCardEvent Event = "project_card"
56+ ProjectColumnEvent Event = "project_column"
57+ ProjectEvent Event = "project"
58+ PublicEvent Event = "public"
59+ PullRequestEvent Event = "pull_request"
60+ PullRequestReviewEvent Event = "pull_request_review"
61+ PullRequestReviewCommentEvent Event = "pull_request_review_comment"
62+ PushEvent Event = "push"
63+ ReleaseEvent Event = "release"
64+ RepositoryEvent Event = "repository"
65+ RepositoryVulnerabilityAlertEvent Event = "repository_vulnerability_alert"
66+ SecurityAdvisoryEvent Event = "security_advisory"
67+ StatusEvent Event = "status"
68+ TeamEvent Event = "team"
69+ TeamAddEvent Event = "team_add"
70+ WatchEvent Event = "watch"
7071)
7172
7273// EventSubtype defines a GitHub Hook Event subtype
@@ -207,7 +208,7 @@ func (hook Webhook) Parse(r *http.Request, events ...Event) (interface{}, error)
207208 var pl InstallationPayload
208209 err = json .Unmarshal ([]byte (payload ), & pl )
209210 return pl , err
210- case InstallationRepositoriesEvent :
211+ case InstallationRepositoriesEvent , IntegrationInstallationRepositoriesEvent :
211212 var pl InstallationRepositoriesPayload
212213 err = json .Unmarshal ([]byte (payload ), & pl )
213214 return pl , err
0 commit comments