@@ -28,44 +28,45 @@ 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- OrganizationEvent Event = "organization"
50- OrgBlockEvent Event = "org_block"
51- PageBuildEvent Event = "page_build"
52- PingEvent Event = "ping"
53- ProjectCardEvent Event = "project_card"
54- ProjectColumnEvent Event = "project_column"
55- ProjectEvent Event = "project"
56- PublicEvent Event = "public"
57- PullRequestEvent Event = "pull_request"
58- PullRequestReviewEvent Event = "pull_request_review"
59- PullRequestReviewCommentEvent Event = "pull_request_review_comment"
60- PushEvent Event = "push"
61- ReleaseEvent Event = "release"
62- RepositoryEvent Event = "repository"
63- RepositoryVulnerabilityAlertEvent Event = "repository_vulnerability_alert"
64- SecurityAdvisoryEvent Event = "security_advisory"
65- StatusEvent Event = "status"
66- TeamEvent Event = "team"
67- TeamAddEvent Event = "team_add"
68- 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+ 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"
6970)
7071
7172// EventSubtype defines a GitHub Hook Event subtype
@@ -206,7 +207,7 @@ func (hook Webhook) Parse(r *http.Request, events ...Event) (interface{}, error)
206207 var pl InstallationPayload
207208 err = json .Unmarshal ([]byte (payload ), & pl )
208209 return pl , err
209- case InstallationRepositoriesEvent :
210+ case InstallationRepositoriesEvent , IntegrationInstallationRepositoriesEvent :
210211 var pl InstallationRepositoriesPayload
211212 err = json .Unmarshal ([]byte (payload ), & pl )
212213 return pl , err
0 commit comments