Skip to content

Commit 853d844

Browse files
authored
Merge pull request #922 from matthias-pichler-warrify/fix-switch-schema
Fix switch schema
2 parents e7dec69 + f256a05 commit 853d844

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

schema/workflow.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -569,10 +569,9 @@ $defs:
569569
additionalProperties:
570570
type: object
571571
title: SwitchCase
572+
required:
573+
- then
572574
properties:
573-
name:
574-
type: string
575-
description: The case's name.
576575
when:
577576
type: string
578577
description: A runtime expression used to determine whether or not the case matches.

0 commit comments

Comments
 (0)