From c81c51ef467fa4e009764db4e8fa62b21af752eb Mon Sep 17 00:00:00 2001 From: Garrett Ladley <92384606+garrettladley@users.noreply.github.com> Date: Wed, 6 Mar 2024 23:20:17 -0500 Subject: [PATCH] fix: auto-merge dependabot (#346) --- .github/workflows/dependabot_auto_merge.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dependabot_auto_merge.yml b/.github/workflows/dependabot_auto_merge.yml index 260a6f593..706e64db5 100644 --- a/.github/workflows/dependabot_auto_merge.yml +++ b/.github/workflows/dependabot_auto_merge.yml @@ -18,7 +18,7 @@ jobs: github-token: "${{ secrets.GITHUB_TOKEN }}" - name: Enable Auto-Merge for Dependabot PRs if: steps.metadata.outputs.update-type == 'version-update:semver-patch' - run: gh pr merge --auto --merge "$PR_URL" + run: gh pr merge --auto --delete-branch --squash "$PR_URL" env: PR_URL: ${{github.event.pull_request.html_url}} GH_TOKEN: ${{secrets.GITHUB_TOKEN}}