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
245245 |
246246 expr .( StepsExpression ) .getStepId ( ) = value
247247 or
248- expr .( SimpleReferenceExpression ) .getFieldName ( ) = value
248+ expr .( SimpleReferenceExpression ) .getFieldName ( ) = value and
249+ not expr instanceof GitHubExpression
249250 or
250251 expr .( NeedsExpression ) .getNeededJobId ( ) = value
251252 or
@@ -279,7 +280,8 @@ class ActionsSHACheckout extends SHACheckoutStep instanceof UsesStep {
279280 |
280281 expr .( StepsExpression ) .getStepId ( ) = value
281282 or
282- expr .( SimpleReferenceExpression ) .getFieldName ( ) = value
283+ expr .( SimpleReferenceExpression ) .getFieldName ( ) = value and
284+ not expr instanceof GitHubExpression
283285 or
284286 expr .( NeedsExpression ) .getNeededJobId ( ) = value
285287 or
You can’t perform that action at this time.
0 commit comments