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
92
92
or
93
93
// 3rd party actions returning the PR head sha/ref
94
94
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
98
104
DataFlow:: hasLocalFlowExpr ( step , this .getArgumentExpr ( "ref" ) )
99
105
)
100
106
or
Original file line number Diff line number Diff line change 2
2
library : true
3
3
warnOnImplicitThis : true
4
4
name : githubsecuritylab/actions-all
5
- version : 0.0.22
5
+ version : 0.0.23
6
6
dependencies :
7
7
codeql/util : ^0.2.0
8
8
codeql/yaml : ^0.1.2
Original file line number Diff line number Diff line change 1
1
---
2
2
library : false
3
3
name : githubsecuritylab/actions-queries
4
- version : 0.0.22
4
+ version : 0.0.23
5
5
groups :
6
6
- actions
7
7
- queries
You can’t perform that action at this time.
0 commit comments