ci: squash instead of merge commit

This commit is contained in:
Sergey Parfenyuk
2025-10-26 17:14:28 +01:00
parent 3dc28a1199
commit 0452060cbe

View File

@@ -17,7 +17,7 @@ jobs:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Auto-merge Patch 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}}