From 30b3619d82dd0090c5aa23698098577ae0f712f3 Mon Sep 17 00:00:00 2001 From: Matthias Pichler Date: Tue, 16 Jul 2024 18:54:03 +0000 Subject: [PATCH] fix: remove name and make then required Signed-off-by: Matthias Pichler --- schema/workflow.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/schema/workflow.yaml b/schema/workflow.yaml index 1e38c985..b4fcbb91 100644 --- a/schema/workflow.yaml +++ b/schema/workflow.yaml @@ -569,10 +569,9 @@ $defs: additionalProperties: type: object title: SwitchCase + required: + - then properties: - name: - type: string - description: The case's name. when: type: string description: A runtime expression used to determine whether or not the case matches.