mirror of
https://github.com/github/codeql.git
synced 2026-01-06 11:10:23 +01:00
Add workflow_dispatch to the triggers for artifact poisoning
This commit is contained in:
@@ -16,7 +16,7 @@ import codeql.actions.security.ArtifactPoisoningQuery
|
||||
|
||||
from LocalJob job, ArtifactDownloadStep download, Step run
|
||||
where
|
||||
job.getWorkflow().getATriggerEvent() = "workflow_run" and
|
||||
job.getWorkflow().getATriggerEvent() = ["workflow_run", "workflow_dispatch"] and
|
||||
(run instanceof Run or run instanceof UsesStep) and
|
||||
exists(int i, int j |
|
||||
job.getStep(i) = download and
|
||||
|
||||
Reference in New Issue
Block a user