We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2eed6c1 commit 048884bCopy full SHA for 048884b
1 file changed
actions/ql/lib/codeql/actions/security/ControlChecks.qll
@@ -83,7 +83,7 @@ abstract class ControlCheck extends AstNode {
83
(
84
this.(Step).getAFollowingStep() = node.getEnclosingStep()
85
or
86
- node.getEnclosingJob().getANeededJob().(LocalJob).getAStep() = this.(Step)
+ node.getEnclosingJob().getANeededJob().(LocalJob).getAStep() = this
87
)
88
89
// When the node is inside a reusable workflow, check if the control check
@@ -105,7 +105,7 @@ abstract class ControlCheck extends AstNode {
105
106
107
(this instanceof Run or this instanceof UsesStep) and
108
- caller.getANeededJob().(LocalJob).getAStep() = this.(Step)
+ caller.getANeededJob().(LocalJob).getAStep() = this
109
110
111
}
0 commit comments