We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a3ccc2e + 5130135 commit 8e5eeb2Copy full SHA for 8e5eeb2
1 file changed
ql/lib/codeql/actions/ast/internal/Ast.qll
@@ -855,7 +855,14 @@ class StepsExpressionImpl extends SimpleReferenceExpressionImpl {
855
override string getFieldName() { result = fieldName }
856
857
override AstNodeImpl getTarget() {
858
- this.getEnclosingJob() = result.getEnclosingJob() and
+ (
859
+ this.getEnclosingJob() = result.getEnclosingJob()
860
+ or
861
+ exists(CompositeActionImpl a |
862
+ a.getAChildNode*() = this and
863
+ a.getAChildNode*() = result
864
+ )
865
+ ) and
866
result.(StepImpl).getId() = stepId
867
}
868
0 commit comments