From c23ea4b00906410765de11f1f1a2733e13307e3c Mon Sep 17 00:00:00 2001 From: xibz Date: Wed, 25 Mar 2026 15:33:44 -0500 Subject: [PATCH] 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 --- schemas/taskrunfinished.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/schemas/taskrunfinished.json b/schemas/taskrunfinished.json index 580e707..a18a91e 100644 --- a/schemas/taskrunfinished.json +++ b/schemas/taskrunfinished.json @@ -90,7 +90,8 @@ ] }, "outcome": { - "type": "string" + "type": "string", + "enum": ["success", "failure", "cancel", "error"] }, "errors": { "type": "string"