1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-01-26 03:52:50 +02:00

Update .mergify.yml

- New syntax for mergify engine v. 2
- Relax review rules for trusted users
This commit is contained in:
Tim Möhlmann 2018-12-05 12:38:06 +02:00
parent 5c24390114
commit b564b879aa
No known key found for this signature in database
GPG Key ID: 8677988D8072E8DE

View File

@ -1,10 +1,16 @@
rules:
default: null
branches:
master:
protection:
required_status_checks:
contexts:
- continuous-integration/travis-ci
required_pull_request_reviews:
required_approving_review_count: 2
pull_request_rules:
- name: Successful travis and 2 approved reviews
conditions:
- status-success=continuous-integration/travis-ci/pr
- "#approved-reviews-by>=2"
actions:
merge:
method: merge
- name: Trusted author, successful travis and 1 approved review
conditions:
- author~=(kaiyou|muhlemmer|mildred|HorayNarea|adi90x|hoellen|ofthesun9)
- status-success=continuous-integration/travis-ci/pr
- "#approved-reviews-by>=1"
actions:
merge:
method: merge