-
Notifications
You must be signed in to change notification settings - Fork 163
/
all_webhooks.go
42 lines (40 loc) · 3.06 KB
/
all_webhooks.go
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
// 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://github.com/github/docs/blob/main/content/actions/using-workflows/events-that-trigger-workflows.md
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": {},
"issue_comment": {"created", "edited", "deleted"},
"issues": {"opened", "edited", "deleted", "transferred", "pinned", "unpinned", "closed", "reopened", "assigned", "unassigned", "labeled", "unlabeled", "locked", "unlocked", "milestoned", "demilestoned"},
"label": {"created", "edited", "deleted"},
"merge_group": {"checks_requested"},
"milestone": {"created", "closed", "opened", "edited", "deleted"},
"page_build": {},
"project": {"created", "closed", "reopened", "edited", "deleted"},
"project_card": {"created", "moved", "converted", "edited", "deleted"},
"project_column": {"created", "updated", "moved", "deleted"},
"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", "ready_for_review", "locked", "unlocked", "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": {},
"status": {},
"watch": {"started"},
"workflow_dispatch": {},
"workflow_run": {"completed", "requested", "in_progress"},
}