Add support for auto-merge (#2336)

* Add support for auto-merge

* Fix bad request-converter version

* Switch back to pull_request

pull_request_target is the wrong trigger for this action
This commit is contained in:
Josh Mock
2024-08-12 14:15:55 -05:00
committed by GitHub
parent d62d8c9831
commit 4b8969cc78
3 changed files with 19 additions and 2 deletions

17
.github/workflows/auto-merge.yml vendored Normal file
View File

@ -0,0 +1,17 @@
name: Automerge
on:
pull_request_review:
types:
- submitted
jobs:
automerge:
runs-on: ubuntu-latest
steps:
- uses: reitermarkus/automerge@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
merge-method: squash
do-not-merge-labels: never-merge
pull-request-author-associations: OWNER

View File

@ -2,7 +2,7 @@
name: Node CI
on:
pull_request_target: {}
pull_request: {}
jobs:
paths-filter: