Skip to content

Commit 708de28

Browse files
committed
fix(task): task run finished not consistent
This commit task run to conform to other outcome values being enums with values: "success", "failure", "error", and "cancel" Signed-off-by: xibz <impactbchang@gmail.com>
1 parent 4f893b2 commit 708de28

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

schemas/taskrunfinished.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@
9090
]
9191
},
9292
"outcome": {
93-
"type": "string"
93+
"type": "string",
94+
"enum": ["success", "failure", "cancel", "error"]
9495
},
9596
"errors": {
9697
"type": "string"

0 commit comments

Comments
 (0)