From 539655f18b36691f2940abcea0524484c350ce08 Mon Sep 17 00:00:00 2001 From: github-actions Date: Mon, 15 Apr 2024 17:28:25 +0000 Subject: [PATCH] chore(schema): generate --- schema.json | 55 +++++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 49 insertions(+), 6 deletions(-) diff --git a/schema.json b/schema.json index fc765c7..07c9358 100644 --- a/schema.json +++ b/schema.json @@ -125,19 +125,62 @@ "description": "Path to git mirrors folder" } }, - "required": [ - "dependenciesCachePath", - "mirrors", - "mirrorsPath" - ], "additionalProperties": false + }, + "workflows": { + "type": "array", + "items": { + "anyOf": [ + { + "not": {} + }, + { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Workflow name" + }, + "steps": { + "type": "array", + "items": { + "type": "object", + "properties": { + "command": { + "type": "string", + "description": "Command to execute" + }, + "args": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Command arguments" + } + }, + "required": [ + "command" + ], + "additionalProperties": false + } + } + }, + "required": [ + "name", + "steps" + ], + "additionalProperties": false + } + ] + } } }, "required": [ "engine", "project", "build", - "buildkite" + "buildkite", + "workflows" ], "additionalProperties": false, "$schema": "https://json-schema.org/draft/2019-09/schema#"