From 387c526be2a00513f9daceec8b0d42369abbea4e Mon Sep 17 00:00:00 2001 From: Niv Greenstein <88280771+NivGreenstein@users.noreply.github.com> Date: Sun, 20 Apr 2025 15:40:13 +0300 Subject: [PATCH] fix: added default config name validation pattern --- scripts/schemas/configs.schema.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/schemas/configs.schema.json b/scripts/schemas/configs.schema.json index baf75221..1ea57b4f 100644 --- a/scripts/schemas/configs.schema.json +++ b/scripts/schemas/configs.schema.json @@ -4,7 +4,8 @@ "type": "object", "properties": { "name": { - "type": "string" + "type": "string", + "pattern": "^([a-z0-9]+(-[a-z0-9]+)*)$" }, "value": {} },