File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
ql/lib/codeql/actions/security Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -245,7 +245,8 @@ class ActionsMutableRefCheckout extends MutableRefCheckoutStep instanceof UsesSt
245
245
|
246
246
expr .( StepsExpression ) .getStepId ( ) = value
247
247
or
248
- expr .( SimpleReferenceExpression ) .getFieldName ( ) = value
248
+ expr .( SimpleReferenceExpression ) .getFieldName ( ) = value and
249
+ not expr instanceof GitHubExpression
249
250
or
250
251
expr .( NeedsExpression ) .getNeededJobId ( ) = value
251
252
or
@@ -279,7 +280,8 @@ class ActionsSHACheckout extends SHACheckoutStep instanceof UsesStep {
279
280
|
280
281
expr .( StepsExpression ) .getStepId ( ) = value
281
282
or
282
- expr .( SimpleReferenceExpression ) .getFieldName ( ) = value
283
+ expr .( SimpleReferenceExpression ) .getFieldName ( ) = value and
284
+ not expr instanceof GitHubExpression
283
285
or
284
286
expr .( NeedsExpression ) .getNeededJobId ( ) = value
285
287
or
You can’t perform that action at this time.
0 commit comments