fix: che-22646 gh command needs fill flag when body is defined (#1780)

Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
pull/1782/head
Mykhailo Kuznietsov 2023-11-13 10:29:18 +02:00 committed by GitHub
parent 5d1a58db3c
commit 8e8e2188f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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}