From dbf3f7327242023ca1c9217fc08b04ed8b2ba79d Mon Sep 17 00:00:00 2001 From: Ken Harding Date: Wed, 5 Jun 2024 11:13:58 -0400 Subject: [PATCH] bug: (#528) is_keep_branch_on_pr_cleanup fix (#530) --- src/sync_template.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sync_template.sh b/src/sync_template.sh index 0ea3b90a..e4fb7680 100755 --- a/src/sync_template.sh +++ b/src/sync_template.sh @@ -201,7 +201,7 @@ function cleanup_older_prs () { for older_pr in $older_prs do if [ "$is_keep_branch_on_pr_cleanup" == true ] ; then - gh pr close -c -c "[actions-template-sync] :construction_worker: automatically closed because there is a new open PR. Branch is kept alive" "$older_pr" + gh pr close -c "[actions-template-sync] :construction_worker: automatically closed because there is a new open PR. Branch is kept alive" "$older_pr" debug "Closed PR #${older_pr} but kept the branch" else gh pr close -c "[actions-template-sync] :construction_worker: automatically closed because there is a new open PR" -d "$older_pr"