From 27a1343c63b40d0b20f3284637300ae59edb374f Mon Sep 17 00:00:00 2001 From: Manuel Holtgrewe Date: Thu, 20 Apr 2023 15:57:44 +0200 Subject: [PATCH] ci: use --squash for dependabot automerge (#54) --- .github/workflows/automerge.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml index a654767b..05c540d5 100644 --- a/.github/workflows/automerge.yml +++ b/.github/workflows/automerge.yml @@ -11,7 +11,7 @@ jobs: if: ${{ github.actor == 'dependabot[bot]' }} steps: - name: Enable auto-merge for Dependabot PRs - run: gh pr merge --auto --merge "$PR_URL" + run: gh pr merge --auto --squash "$PR_URL" env: PR_URL: ${{github.event.pull_request.html_url}} # GitHub provides this variable in the CI env. You don't