fix(core): Fix disabled parent output in partial execution (#3946)

🐛 Skip disabled parent in partial execution
This commit is contained in:
Iván Ovejero
2022-09-01 15:43:48 +02:00
committed by GitHub
parent 936cb11789
commit c8743ff6ca
2 changed files with 10 additions and 2 deletions

View File

@@ -151,7 +151,9 @@ export const workflowRun = mixins(
// node for each of the branches
const parentNodes = workflow.getParentNodes(directParentNode, 'main');
// Add also the direct parent to be checked
// Add also the enabled direct parent to be checked
if (workflow.nodes[directParentNode].disabled) continue;
parentNodes.push(directParentNode);
for (const parentNode of parentNodes) {