From 29f1a6e5c0dcdd6f7de1ffdea6ac50dadf691a48 Mon Sep 17 00:00:00 2001 From: Adam Dyess Date: Mon, 16 Sep 2024 16:28:34 -0500 Subject: [PATCH] Make sure the bot can approve the PRs too --- build-scripts/auto-merge-successful-pr.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build-scripts/auto-merge-successful-pr.sh b/build-scripts/auto-merge-successful-pr.sh index 30a9a1261..e526e7b98 100755 --- a/build-scripts/auto-merge-successful-pr.sh +++ b/build-scripts/auto-merge-successful-pr.sh @@ -18,6 +18,7 @@ for pr in $(echo "$prs" | jq -r '.[] | @base64'); do if [[ "$checks_passed" == "true" ]]; then echo "All status checks passed for PR #$pr_number. Proceeding with merge..." + gh pr review $pr_number --approve -b "All status checks passed for PR #$pr_number." gh pr merge $pr_number --auto --squash else echo "Status checks have not passed for PR #$pr_number. Skipping merge."