diff --git a/src/commit-and-pull-request.sh b/src/commit-and-pull-request.sh index 1b164a3..1be23c9 100755 --- a/src/commit-and-pull-request.sh +++ b/src/commit-and-pull-request.sh @@ -125,7 +125,7 @@ if [[ "${PROMOTION_METHOD}" == "pull_request" ]]; then echo if [[ "${AUTO_MERGE}" == "true" ]]; then echo "Status checks have all passed. Merging PR..." - gh pr merge --squash --admin + gh pr merge --squash --admin --delete-branch echo echo "Promotion PR has been merged. Details below." else