File tree Expand file tree Collapse file tree 3 files changed +11
-5
lines changed
Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -92,9 +92,15 @@ class ActionsMutableRefCheckout extends MutableRefCheckoutStep instanceof UsesSt
9292 or
9393 // 3rd party actions returning the PR head sha/ref
9494 exists ( UsesStep step |
95- step .getCallee ( ) = [ "eficode/resolve-pr-refs" , "xt0rted/pull-request-comment-branch" ] and
96- // TODO: This should be read step of the head_sha or head_ref output vars
97- this .getArgument ( "ref" ) .regexpMatch ( ".*head_ref.*" ) and
95+ (
96+ step .getCallee ( ) = [ "eficode/resolve-pr-refs" , "xt0rted/pull-request-comment-branch" ] and
97+ // TODO: This should be read step of the head_sha or head_ref output vars
98+ this .getArgument ( "ref" ) .matches ( "%.head_ref%" )
99+ or
100+ step .getCallee ( ) = [ "github/branch-deploy" ] and
101+ // TODO: This should be read step of the ref output var
102+ this .getArgument ( "ref" ) .matches ( "%.ref%" )
103+ ) and
98104 DataFlow:: hasLocalFlowExpr ( step , this .getArgumentExpr ( "ref" ) )
99105 )
100106 or
Original file line number Diff line number Diff line change 22library : true
33warnOnImplicitThis : true
44name : githubsecuritylab/actions-all
5- version : 0.0.22
5+ version : 0.0.23
66dependencies :
77 codeql/util : ^0.2.0
88 codeql/yaml : ^0.1.2
Original file line number Diff line number Diff line change 11---
22library : false
33name : githubsecuritylab/actions-queries
4- version : 0.0.22
4+ version : 0.0.23
55groups :
66 - actions
77 - queries
You can’t perform that action at this time.
0 commit comments