Add Automerge Action

This commit is contained in:
Steve Faulkner 2020-10-02 18:23:45 -05:00 committed by GitHub
parent 0f82ed3749
commit d9d772f29c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

29
.github/workflows/automerge.yml vendored Normal file
View File

@ -0,0 +1,29 @@
name: automerge
on:
pull_request:
types:
- labeled
- unlabeled
- synchronize
- opened
- edited
- ready_for_review
- reopened
- unlocked
pull_request_review:
types:
- submitted
check_suite:
types:
- completed
status: {}
jobs:
automerge:
runs-on: ubuntu-latest
steps:
- name: automerge
uses: "pascalgn/automerge-action@v0.11.0"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
MERGE_METHOD: "squash"
MERGE_COMMIT_MESSAGE: "pull-request-title"