Update .mergify.yml

- New syntax for mergify engine v. 2
- Relax review rules for trusted users
master
Tim Möhlmann 6 years ago
parent 5c24390114
commit b564b879aa
No known key found for this signature in database
GPG Key ID: 8677988D8072E8DE

@ -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

Loading…
Cancel
Save