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: pull_request_rules:
default: null - name: Successful travis and 2 approved reviews
branches: conditions:
master: - status-success=continuous-integration/travis-ci/pr
protection: - "#approved-reviews-by>=2"
required_status_checks: actions:
contexts: merge:
- continuous-integration/travis-ci method: merge
required_pull_request_reviews: - name: Trusted author, successful travis and 1 approved review
required_approving_review_count: 2 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