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

Class UsesStepImpl

A Uses step represents a call to an action that is defined in a GitHub repository.

Import path

import codeql.actions.ast.internal.Ast

Direct supertypes

Indirect supertypes

Fields

Inherited fields

Predicates

getAChildNode
getCallee

Gets the owner and name of the repository where the Action comes from, e.g. actions/checkout in actions/checkout@v2.

getCalleeNode
getVersion

Gets the version reference used when checking out the Action, e.g. v2 in actions/checkout@v2.

toString

Inherited predicates

getAFollowingStep

Gets a step that follows this step.

from StepImpl
getAPrimaryQlClassfrom StepImpl
getATriggerEvent

Gets and Event triggering this node.

from StepImpl
getArgument

Gets the argument expression for the given key.

from UsesImpl
getArgumentExpr

Gets the argument expression for the given key (if it exists).

from UsesImpl
getContainer

Gets the Runs or LocalJob that this step is in.

from StepImpl
getEnclosingCompositeAction

Gets the enclosing composite action if any.

from AstNodeImpl
getEnclosingJob

Gets the enclosing Job.

from StepImpl
getEnclosingStep

Gets the enclosing Step.

from AstNodeImpl
getEnclosingWorkflow

Gets the enclosing workflow if any.

from AstNodeImpl
getEnvfrom StepImpl
getId

Gets the ID of this step, if any.

from StepImpl
getIf

Gets the value of the if field in this step, if any.

from StepImpl
getInScopeDefaultValuefrom AstNodeImpl
getInScopeEnvVarExpr

Gets a environment variable expression by name in the scope of the current node.

from AstNodeImpl
getLocationfrom StepImpl
getMajorVersionfrom UsesImpl
getNextStepfrom StepImpl
getNodefrom StepImpl
getParentNodefrom StepImpl

Charpred