From 8e8e2188f7d4fcf1ecc5c5093a93ae3dbbbbf0b3 Mon Sep 17 00:00:00 2001 From: Mykhailo Kuznietsov Date: Mon, 13 Nov 2023 10:29:18 +0200 Subject: [PATCH] fix: che-22646 gh command needs fill flag when body is defined (#1780) Signed-off-by: Mykhailo Kuznietsov --- build/scripts/release/prepare-community-operators-update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/scripts/release/prepare-community-operators-update.sh b/build/scripts/release/prepare-community-operators-update.sh index 3312e06038..f1cd970d10 100755 --- a/build/scripts/release/prepare-community-operators-update.sh +++ b/build/scripts/release/prepare-community-operators-update.sh @@ -139,7 +139,7 @@ do PRbody=$(curl -sSLo - ${template_file} | \ sed -r -n '/#+ Updates to existing Operators/,$p' | sed -r -e "s#\[\ \]#[x]#g") - $GH pr create -b "${PRbody}" -B "${upstream_org}:${base_branch}" -H "${fork_org}:${branch}" + $GH pr create -f -b "${PRbody}" -B "${upstream_org}:${base_branch}" -H "${fork_org}:${branch}" else echo "gh is not installed. Install it from https://hub.github.com/ or submit PR manually using PR template: ${template_file}