CodeQL library for GitHub Actions
codeql/actions-all 0.4.27-dev (changelog, source)
Search

Predicate Bash::envReachingRunExpr

Holds if and environment variable is used, directly or indirectly, in a Run’s step expression. Where the expression is a string captured from the Run’s script.

Import path

import actions
predicate envReachingRunExpr(BashShellScript script, string var, string expr)