Skip to content

Commit

Permalink
bug: (#528) is_keep_branch_on_pr_cleanup fix (#530)
Browse files Browse the repository at this point in the history
  • Loading branch information
kanno41 committed Jun 5, 2024
1 parent dbb1da4 commit dbf3f73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sync_template.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit dbf3f73

Please sign in to comment.