-
Notifications
You must be signed in to change notification settings - Fork 246
Expand file tree
/
Copy pathall_webhooks.go
More file actions
44 lines (42 loc) · 3.16 KB
/
Copy pathall_webhooks.go
File metadata and controls
44 lines (42 loc) · 3.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// Code generated by actionlint/scripts/generate-webhook-events. DO NOT EDIT.
package actionlint
// AllWebhookTypes is a table of all webhooks with their types. This variable was generated by
// script at ./scripts/generate-webhook-events based on
// https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows
// The value is nil when the activity types cannot be determined from the document. For example
// repository_dispatch event can contain arbitrary types that are customized by user.
var AllWebhookTypes = map[string][]string{
"branch_protection_rule": {"created", "edited", "deleted"},
"check_run": {"created", "rerequested", "completed", "requested_action"},
"check_suite": {"completed"},
"create": {},
"delete": {},
"deployment": {},
"deployment_status": {},
"discussion": {"created", "edited", "deleted", "transferred", "pinned", "unpinned", "labeled", "unlabeled", "locked", "unlocked", "category_changed", "answered", "unanswered"},
"discussion_comment": {"created", "edited", "deleted"},
"fork": {},
"gollum": {},
"image_version": {},
"issue_comment": {"created", "edited", "deleted"},
"issues": {"opened", "edited", "deleted", "transferred", "pinned", "unpinned", "closed", "reopened", "assigned", "unassigned", "labeled", "unlabeled", "locked", "unlocked", "milestoned", "demilestoned", "typed", "untyped"},
"label": {"created", "edited", "deleted"},
"merge_group": {"checks_requested"},
"milestone": {"created", "closed", "opened", "edited", "deleted"},
"page_build": {},
"public": {},
"pull_request": {"assigned", "unassigned", "labeled", "unlabeled", "opened", "edited", "closed", "reopened", "synchronize", "converted_to_draft", "locked", "unlocked", "enqueued", "dequeued", "milestoned", "demilestoned", "ready_for_review", "review_requested", "review_request_removed", "auto_merge_enabled", "auto_merge_disabled"},
"pull_request_review": {"submitted", "edited", "dismissed"},
"pull_request_review_comment": {"created", "edited", "deleted"},
"pull_request_target": {"assigned", "unassigned", "labeled", "unlabeled", "opened", "edited", "closed", "reopened", "synchronize", "converted_to_draft", "locked", "unlocked", "enqueued", "dequeued", "milestoned", "demilestoned", "ready_for_review", "review_requested", "review_request_removed", "auto_merge_enabled", "auto_merge_disabled"},
"push": {},
"registry_package": {"published", "updated"},
"release": {"published", "unpublished", "created", "edited", "deleted", "prereleased", "released"},
"repository_dispatch": nil,
"schedule": {},
"status": {},
"watch": {"started"},
"workflow_call": {},
"workflow_dispatch": {},
"workflow_run": {"completed", "requested", "in_progress"},
}