From 49af480ac4ac9396f09313033d8b1a17a55c2e94 Mon Sep 17 00:00:00 2001 From: Valentin Maerten Date: Tue, 7 Jan 2025 21:16:37 +0100 Subject: [PATCH] modify json schema --- website/static/schema.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/website/static/schema.json b/website/static/schema.json index da25a209f9..e4785c836b 100644 --- a/website/static/schema.json +++ b/website/static/schema.json @@ -678,6 +678,13 @@ "description": "A set of global environment variables.", "$ref": "#/definitions/env" }, + "preconditions": { + "description": "A list of commands to check if any task should run. If a condition is not met, the task will return an error.", + "type": "array", + "items": { + "$ref": "#/definitions/precondition" + } + }, "tasks": { "description": "A set of task definitions.", "$ref": "#/definitions/tasks"