From c676b203850dccfe9c3d4652771ad7f8c59331da 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 a44df7a8..c9b4d22a 100644 --- a/website/static/schema.json +++ b/website/static/schema.json @@ -699,6 +699,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"