ci: use squash merging for dependabot

This commit is contained in:
nachtjasmin 2023-12-21 17:42:35 +01:00
parent 3cd8bd10e8
commit 8bc3313be9
No known key found for this signature in database

View file

@ -17,7 +17,7 @@ jobs:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Enable auto-merge for Dependabot PRs (only minor & patch)
if: "steps.metadata.outputs.update-type != 'version-update:semver-major'"
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_TOKEN: ${{secrets.GITHUB_TOKEN}}