Skip to content

Commit a7f9e73

Browse files
committed
chore(governance): auto-merge on all PR events
1 parent 707ad04 commit a7f9e73

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/auto-merge.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ name: auto-merge
22

33
on:
44
pull_request:
5-
6-
# workflow_dispatch:
5+
types: [opened, edited, synchronize]
76

87
permissions:
98
contents: write
@@ -20,7 +19,7 @@ jobs:
2019
github-token: "${{ secrets.GITHUB_TOKEN }}"
2120
- name: Enable auto-merge for mypy-boto3 stubs Dependabot PRs
2221
if: ${{contains(steps.metadata.outputs.dependency-names, 'mypy-boto3')}} # && steps.metadata.outputs.update-type == 'version-update:semver-patch'
23-
run: gh pr merge --auto --merge --squash "$PR_URL"
22+
run: gh pr merge --auto --squash "$PR_URL"
2423
env:
2524
PR_URL: ${{github.event.pull_request.html_url}}
2625
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)