From e05fa9b96b28f5c261f1e3eee8122f89d81bfcfa Mon Sep 17 00:00:00 2001 From: William Brawner Date: Sat, 9 Mar 2024 09:22:12 -0700 Subject: [PATCH] Use rebase for auto merge workflow --- .github/workflows/pull-request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 5aefe73..3b75029 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -36,7 +36,7 @@ jobs: if: ${{ github.actor == 'wbrawner' || github.actor == 'dependabot[bot]' }} steps: - name: Enable auto-merge - run: gh pr merge --auto --merge "$PR_URL" + run: gh pr merge --auto --rebase "$PR_URL" env: PR_URL: ${{github.event.pull_request.html_url}} GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} \ No newline at end of file