@@ -182,55 +182,55 @@ instance FromJSON RepoWebhookEvent where
182
182
parseJSON _ = fail " Could not build a Webhook event"
183
183
184
184
instance ToJSON RepoWebhookEvent where
185
- toJSON WebhookWildcardEvent = String " *"
186
- toJSON WebhookCheckRunEvent = String " check_run"
187
- toJSON WebhookCheckSuiteEvent = String " check_suite"
188
- toJSON WebhookCommitCommentEvent = String " commit_comment"
189
- toJSON WebhookContentReferenceEvent = String " content_reference"
190
- toJSON WebhookCreateEvent = String " create"
191
- toJSON WebhookDeleteEvent = String " delete"
192
- toJSON WebhookDeployKeyEvent = String " deploy_key"
193
- toJSON WebhookDeploymentEvent = String " deployment"
194
- toJSON WebhookDeploymentStatusEvent = String " deployment_status"
195
- toJSON WebhookDownloadEvent = String " download"
196
- toJSON WebhookFollowEvent = String " follow"
197
- toJSON WebhookForkEvent = String " fork"
198
- toJSON WebhookForkApplyEvent = String " fork_apply"
199
- toJSON WebhookGitHubAppAuthorizationEvent = String " github_app_authorization"
200
- toJSON WebhookGistEvent = String " gist"
201
- toJSON WebhookGollumEvent = String " gollum"
202
- toJSON WebhookInstallationEvent = String " installation"
203
- toJSON WebhookInstallationRepositoriesEvent = String " installation_repositories"
204
- toJSON WebhookIssueCommentEvent = String " issue_comment"
205
- toJSON WebhookIssuesEvent = String " issues"
206
- toJSON WebhookLabelEvent = String " label"
207
- toJSON WebhookMarketplacePurchaseEvent = String " marketplace_purchase"
208
- toJSON WebhookMemberEvent = String " member"
209
- toJSON WebhookMembershipEvent = String " membership"
210
- toJSON WebhookMetaEvent = String " meta"
211
- toJSON WebhookMilestoneEvent = String " milestone"
212
- toJSON WebhookOrganizationEvent = String " organization"
213
- toJSON WebhookOrgBlockEvent = String " org_block"
214
- toJSON WebhookPageBuildEvent = String " page_build"
215
- toJSON WebhookPingEvent = String " ping"
216
- toJSON WebhookProjectCardEvent = String " project_card"
217
- toJSON WebhookProjectColumnEvent = String " project_column"
218
- toJSON WebhookProjectEvent = String " project"
219
- toJSON WebhookPublicEvent = String " public"
220
- toJSON WebhookPullRequestEvent = String " pull_request"
221
- toJSON WebhookPullRequestReviewEvent = String " pull_request_review"
222
- toJSON WebhookPullRequestReviewCommentEvent = String " pull_request_review_comment"
223
- toJSON WebhookPushEvent = String " push"
224
- toJSON WebhookReleaseEvent = String " release"
225
- toJSON WebhookRepositoryEvent = String " repository"
226
- toJSON WebhookRepositoryImportEvent = String " repository_import"
185
+ toJSON WebhookWildcardEvent = String " *"
186
+ toJSON WebhookCheckRunEvent = String " check_run"
187
+ toJSON WebhookCheckSuiteEvent = String " check_suite"
188
+ toJSON WebhookCommitCommentEvent = String " commit_comment"
189
+ toJSON WebhookContentReferenceEvent = String " content_reference"
190
+ toJSON WebhookCreateEvent = String " create"
191
+ toJSON WebhookDeleteEvent = String " delete"
192
+ toJSON WebhookDeployKeyEvent = String " deploy_key"
193
+ toJSON WebhookDeploymentEvent = String " deployment"
194
+ toJSON WebhookDeploymentStatusEvent = String " deployment_status"
195
+ toJSON WebhookDownloadEvent = String " download"
196
+ toJSON WebhookFollowEvent = String " follow"
197
+ toJSON WebhookForkEvent = String " fork"
198
+ toJSON WebhookForkApplyEvent = String " fork_apply"
199
+ toJSON WebhookGitHubAppAuthorizationEvent = String " github_app_authorization"
200
+ toJSON WebhookGistEvent = String " gist"
201
+ toJSON WebhookGollumEvent = String " gollum"
202
+ toJSON WebhookInstallationEvent = String " installation"
203
+ toJSON WebhookInstallationRepositoriesEvent = String " installation_repositories"
204
+ toJSON WebhookIssueCommentEvent = String " issue_comment"
205
+ toJSON WebhookIssuesEvent = String " issues"
206
+ toJSON WebhookLabelEvent = String " label"
207
+ toJSON WebhookMarketplacePurchaseEvent = String " marketplace_purchase"
208
+ toJSON WebhookMemberEvent = String " member"
209
+ toJSON WebhookMembershipEvent = String " membership"
210
+ toJSON WebhookMetaEvent = String " meta"
211
+ toJSON WebhookMilestoneEvent = String " milestone"
212
+ toJSON WebhookOrganizationEvent = String " organization"
213
+ toJSON WebhookOrgBlockEvent = String " org_block"
214
+ toJSON WebhookPageBuildEvent = String " page_build"
215
+ toJSON WebhookPingEvent = String " ping"
216
+ toJSON WebhookProjectCardEvent = String " project_card"
217
+ toJSON WebhookProjectColumnEvent = String " project_column"
218
+ toJSON WebhookProjectEvent = String " project"
219
+ toJSON WebhookPublicEvent = String " public"
220
+ toJSON WebhookPullRequestEvent = String " pull_request"
221
+ toJSON WebhookPullRequestReviewEvent = String " pull_request_review"
222
+ toJSON WebhookPullRequestReviewCommentEvent = String " pull_request_review_comment"
223
+ toJSON WebhookPushEvent = String " push"
224
+ toJSON WebhookReleaseEvent = String " release"
225
+ toJSON WebhookRepositoryEvent = String " repository"
226
+ toJSON WebhookRepositoryImportEvent = String " repository_import"
227
227
toJSON WebhookRepositoryVulnerabilityAlertEvent = String " repository_vulnerability_alert"
228
- toJSON WebhookSecurityAdvisoryEvent = String " security_advisory"
229
- toJSON WebhookStarEvent = String " star"
230
- toJSON WebhookStatusEvent = String " status"
231
- toJSON WebhookTeamEvent = String " team"
232
- toJSON WebhookTeamAddEvent = String " team_add"
233
- toJSON WebhookWatchEvent = String " watch"
228
+ toJSON WebhookSecurityAdvisoryEvent = String " security_advisory"
229
+ toJSON WebhookStarEvent = String " star"
230
+ toJSON WebhookStatusEvent = String " status"
231
+ toJSON WebhookTeamEvent = String " team"
232
+ toJSON WebhookTeamAddEvent = String " team_add"
233
+ toJSON WebhookWatchEvent = String " watch"
234
234
235
235
instance FromJSON RepoWebhook where
236
236
parseJSON = withObject " RepoWebhook" $ \ o -> RepoWebhook
0 commit comments