fix: don't passthrough all of task

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2023-11-15 12:39:32 +01:00
parent ca4063dd27
commit c7c5efe6fa
@@ -290,14 +290,15 @@ export class NunjucksWorkflowRunner implements WorkflowRunner {
input: step.input
? this.render(
step.input,
{ ...context, ...i, ...task },
{ ...context, secrets: task.secrets ?? {}, ...i },
renderTemplate,
)
: {},
}));
for (const iteration of iterations) {
const actionId =
action.id + (iteration.each ? `[${iteration.each.key}]` : '');
const actionId = `${action.id}${
iteration.each ? `[${iteration.each.key}]` : ''
}`;
if (action.schema?.input) {
const validateResult = validateJsonSchema(