Skip to content

Commit 73acee1

Browse files
committed
chore(governance): auto-merge to use squash
1 parent 6aea304 commit 73acee1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/auto-merge.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: auto-merge
22

3-
on: pull_request
3+
on:
4+
pull_request:
5+
workflow_dispatch:
46

57
permissions:
68
contents: write
@@ -17,7 +19,7 @@ jobs:
1719
github-token: "${{ secrets.GITHUB_TOKEN }}"
1820
- name: Enable auto-merge for mypy-boto3 stubs Dependabot PRs
1921
if: ${{contains(steps.metadata.outputs.dependency-names, 'mypy-boto3')}} # && steps.metadata.outputs.update-type == 'version-update:semver-patch'
20-
run: gh pr merge --auto --merge "$PR_URL"
22+
run: gh pr merge --auto --merge --squash "$PR_URL"
2123
env:
2224
PR_URL: ${{github.event.pull_request.html_url}}
2325
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)