message: Don't json parse undefined input
diff: @@ -98,9 +98,9 @@ export class TaskWorker {
  throw new Error(`Action '${step.action}' does not exist`);
  }
  - const input = JSON.parse(
  - JSON.stringify(step.input),
  - (_key, value) => {
  + const input =
  + step.input &&
  + JSON.parse(JSON.stringify(step.input), (_key, value) => {
  if (typeof value === 'string') {
  return handlebars.compile(value, {
  noEscape: true,
  @@ -110,8 +110,7 @@ export class TaskWorker {
  })(templateCtx);
  }
  return value;
  - },
  - );
  + });
  if (action.schema?.input) {
  const validateResult = validateJsonSchema(input, action.schema, {
  