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:
17
.github/workflows/auto-merge.yml
vendored
Normal file
17
.github/workflows/auto-merge.yml
vendored
Normal 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
|
||||
2
.github/workflows/nodejs.yml
vendored
2
.github/workflows/nodejs.yml
vendored
@ -2,7 +2,7 @@
|
||||
name: Node CI
|
||||
|
||||
on:
|
||||
pull_request_target: {}
|
||||
pull_request: {}
|
||||
|
||||
jobs:
|
||||
paths-filter:
|
||||
|
||||
Reference in New Issue
Block a user