Skip to content

Commit 792e855

Browse files
author
Alvaro Muñoz
committed
fix: remove context 2 events mappings
client_paylaod (dispatch), commits (push), head_commit (push) and merge_group are not under external attacker control so remove them
1 parent 62d9302 commit 792e855

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

ql/lib/ext/config/context_event_map.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,10 @@ extensions:
4040
- ["workflow_run", "github.event.workflow_run"]
4141
- ["workflow_run", "github.event.changes"]
4242
# workflow_call receives the same event payload as the calling workflow
43-
- ["workflow_call", "github.event.client_payload"]
4443
- ["workflow_call", "github.event.comment"]
45-
- ["workflow_call", "github.event.commits"]
4644
- ["workflow_call", "github.event.discussion"]
47-
- ["workflow_call", "github.event.head_commit"]
4845
- ["workflow_call", "github.event.inputs"]
4946
- ["workflow_call", "github.event.issue"]
50-
- ["workflow_call", "github.event.merge_group"]
5147
- ["workflow_call", "github.event.pages"]
5248
- ["workflow_call", "github.event.pull_request"]
5349
- ["workflow_call", "github.event.review"]

0 commit comments

Comments
 (0)