From 0f502697350d5125bce743e42d3cd508dfd41bae Mon Sep 17 00:00:00 2001 From: "Wei-Chun, Chang" Date: Tue, 24 Oct 2023 17:47:54 +0800 Subject: [PATCH] Make git branch information nullable Signed-off-by: Wei-Chun, Chang --- piperider_cli/profiler/schema.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/piperider_cli/profiler/schema.json b/piperider_cli/profiler/schema.json index 3eb5f7871..e5724066e 100644 --- a/piperider_cli/profiler/schema.json +++ b/piperider_cli/profiler/schema.json @@ -384,7 +384,14 @@ "type": "string" }, "git_branch": { - "type": "string" + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "git_sha": { "type": "string"