From cbbb7f359a3f0a4bb9f5c59f82168353588bbb7a Mon Sep 17 00:00:00 2001 From: Derek Schuff Date: Tue, 19 Nov 2024 11:32:28 -0800 Subject: [PATCH] Enable auto-merge for bot-created PRs (#1490) This still requires a human to review, but one less button to click. --- .github/workflows/create-release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 3f6aa008b7..0a55ec088b 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -33,3 +33,7 @@ jobs: https://chromium.googlesource.com/emscripten-releases/+/${{ inputs.lto-sha }} (LTO) https://chromium.googlesource.com/emscripten-releases/+/${{ inputs.nonlto-sha }} (asserts) delete-branch: true + - name: Enable auto-merge + run: gh pr merge --squash --auto "${{ steps.cpr.outputs.pull-request-number }}" + env: + GH_TOKEN: ${{ secrets.EMSCRIPTEN_BOT_TOKEN }}