From e43c94ffbd4d8b96bcb0fe7e5fecd771768b40e0 Mon Sep 17 00:00:00 2001 From: Valentin Maerten Date: Sun, 16 Nov 2025 10:35:54 +0100 Subject: [PATCH] update schema --- task.go | 2 +- website/src/public/schema.json | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/task.go b/task.go index 0491beb1..c50e74d6 100644 --- a/task.go +++ b/task.go @@ -345,7 +345,7 @@ func (e *Executor) runCommand(ctx context.Context, t *ast.Task, call *Call, i in return fmt.Errorf("task: failed to get variables: %w", err) } stdOut, stdErr, closer := outputWrapper.WrapWriter(e.Stdout, e.Stderr, t.Prefix, outputTemplater) - + err = execext.RunCommand(ctx, &execext.RunCommandOptions{ Command: cmd.Cmd, Dir: t.Dir, diff --git a/website/src/public/schema.json b/website/src/public/schema.json index 8605d98b..40c59a83 100644 --- a/website/src/public/schema.json +++ b/website/src/public/schema.json @@ -306,6 +306,10 @@ "map": { "type": "object", "description": "The value will be treated as a literal map type and stored in the variable" + }, + "secret": { + "type": "boolean", + "description": "Marks the variable as secret. Secret values will be masked as ***** in command logs to prevent accidental exposure of sensitive information." } }, "additionalProperties": false