mirror of
https://github.com/github/codeql.git
synced 2026-05-05 05:35:13 +02:00
Add Composite action's outputs as a return node
This commit is contained in:
@@ -96,7 +96,10 @@ class ReturnNode extends ExprNode {
|
||||
|
||||
ReturnNode() {
|
||||
this.asExpr() = outputs and
|
||||
outputs = any(ReusableWorkflow s).getOutputs()
|
||||
(
|
||||
exists(ReusableWorkflow w | w.getOutputs() = outputs) or
|
||||
exists(CompositeAction a | a.getOutputs() = outputs)
|
||||
)
|
||||
}
|
||||
|
||||
ReturnKind getKind() { result = TNormalReturn() }
|
||||
|
||||
Reference in New Issue
Block a user