Mergify: configuration update (#4)

This commit is contained in:
Christian Kotzbauer 2020-01-25 16:12:43 +01:00 committed by GitHub
parent c2c3ccabd9
commit b474bc4aab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 37 additions and 0 deletions

37
.mergify.yml Normal file
View File

@ -0,0 +1,37 @@
pull_request_rules:
- name: Automatic merge on approval
conditions:
- "#approved-reviews-by>=1"
- status-success=lint-test
- base=master
- label!=work-in-progress
actions:
merge:
method: merge
- name: delete head branch after merge
conditions:
- merged
actions:
delete_head_branch: {}
- name: remove outdated reviews
conditions:
- base=master
actions:
dismiss_reviews: {}
- name: say hi on new contribution
conditions: []
actions:
comment:
message: |
Thanks for your pull request!
The owner of this repository will try to review and merge this as soon as possible.
- name: ask to resolve conflict
conditions:
- conflicts
actions:
comment:
message: This pull request has now conflicts with the base branch. Could you please try to fix them? 🙏