@@ -7,3 +7,51 @@ extensions:
77 pack : githubsecuritylab/actions-all
88 extensible : workflowDataModel
99 data : []
10+ - addsTo :
11+ pack : githubsecuritylab/actions-all
12+ extensible : contextTriggerDataModel
13+ data :
14+ # This predicate maps triggering events with the github event context available for that event
15+ - ["commit_comment", "github.event.comment"]
16+ - ["discussion", "github.event.discussion"]
17+ - ["discussion_comment", "github.event.comment"]
18+ - ["discussion_comment", "github.event.discussion"]
19+ - ["issues", "github.event.issue"]
20+ - ["issue_comment", "github.event.issue"]
21+ - ["issue_comment", "github.event.comment"]
22+ - ["gollum", "github.event.pages"]
23+ - ["merge_group", "github.event.merge_group"]
24+ - ["pull_request", "github.event.pull_request"]
25+ - ["pull_request", "github.head_ref"]
26+ - ["pull_request_comment", "github.event.comment"]
27+ - ["pull_request_comment", "github.event.pull_request"]
28+ - ["pull_request_comment", "github.head_ref"]
29+ - ["pull_request_review", "github.event.pull_request"]
30+ - ["pull_request_review", "github.event.review"]
31+ - ["pull_request_review", "github.head_ref"]
32+ - ["pull_request_review_comment", "github.event.comment"]
33+ - ["pull_request_review_comment", "github.event.pull_request"]
34+ - ["pull_request_review_comment", "github.event.review"]
35+ - ["pull_request_review_comment", "github.head_ref"]
36+ - ["pull_request_target", "github.event.pull_request"]
37+ - ["pull_request_target", "github.head_ref"]
38+ - ["push", "github.event.commits"]
39+ - ["push", "github.event.head_commit"]
40+ - ["repository_dispatch", "github.event.client_payload"]
41+ - ["workflow_dispatch", "github.event.inputs"]
42+ - ["workflow_run", "github.event.workflow"]
43+ - ["workflow_run", "github.event.workflow_run"]
44+ # workflow_call receives the same event payload as the calling workflow
45+ - ["workflow_call", "github.event.client_payload"]
46+ - ["workflow_call", "github.event.comment"]
47+ - ["workflow_call", "github.event.commits"]
48+ - ["workflow_call", "github.event.discussion"]
49+ - ["workflow_call", "github.event.head_commit"]
50+ - ["workflow_call", "github.event.inputs"]
51+ - ["workflow_call", "github.event.issue"]
52+ - ["workflow_call", "github.event.merge_group"]
53+ - ["workflow_call", "github.event.pages"]
54+ - ["workflow_call", "github.event.pull_request"]
55+ - ["workflow_call", "github.event.review"]
56+ - ["workflow_call", "github.event.workflow"]
57+ - ["workflow_call", "github.event.workflow_run"]
0 commit comments