Add automerge bot

This commit is contained in:
Franck Royer 2022-01-10 10:28:03 +11:00
parent 8aa09f8f9b
commit ae8db33cc7
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
1 changed files with 20 additions and 0 deletions

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

@ -0,0 +1,20 @@
name: Automerge
on:
pull_request_target: { types: [opened, synchronize] }
issue_comment: { types: [created] }
jobs:
auto-merge-bot:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v0.3
- name: Run Codeowners merge check
uses: casassg/auto-merge-bot@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
assign_reviewer: true
merge_method: "rebase"