2020-10-26 09:31:42 +00:00
|
|
|
---
|
|
|
|
pull_request_rules:
|
|
|
|
- name: remove outdated approvals
|
|
|
|
conditions:
|
|
|
|
- base=master
|
|
|
|
actions:
|
|
|
|
dismiss_reviews:
|
|
|
|
approved: true
|
|
|
|
changes_requested: false
|
|
|
|
- name: automatic merge
|
|
|
|
conditions:
|
|
|
|
- label!=do-not-merge
|
2020-12-17 18:12:22 +00:00
|
|
|
- label!=extended-review
|
2020-10-26 09:31:42 +00:00
|
|
|
- base=master
|
|
|
|
- "#changes-requested-reviews-by=0"
|
|
|
|
- status-success=check
|
2021-05-17 14:34:58 +00:00
|
|
|
- status-success=dpulls
|
2020-11-03 14:09:03 +00:00
|
|
|
# each test should be listed separately, do not use regular expressions:
|
|
|
|
# https://docs.mergify.io/conditions.html#validating-all-status-check
|
|
|
|
- status-success=test-suite (nautilus)
|
|
|
|
- status-success=test-suite (octopus)
|
2021-05-17 14:34:58 +00:00
|
|
|
- status-success=test-suite (pacific)
|
2021-08-19 14:17:29 +00:00
|
|
|
- or:
|
|
|
|
- and:
|
|
|
|
- label!=API
|
|
|
|
- "#approved-reviews-by>=1"
|
|
|
|
- and:
|
|
|
|
- label=API
|
|
|
|
- "#approved-reviews-by>=2"
|
|
|
|
- and:
|
|
|
|
- label=API
|
|
|
|
- "#approved-reviews-by>=1"
|
|
|
|
- "updated-at<10 days ago"
|
2020-10-26 09:31:42 +00:00
|
|
|
actions:
|
|
|
|
merge:
|
|
|
|
method: rebase
|
|
|
|
rebase_fallback: merge
|
2020-11-04 14:04:34 +00:00
|
|
|
strict: smart
|
|
|
|
strict_method: rebase
|
2020-10-26 09:31:42 +00:00
|
|
|
dismiss_reviews: {}
|
|
|
|
delete_head_branch: {}
|
|
|
|
- name: ask to resolve conflict
|
|
|
|
conditions:
|
|
|
|
- conflict
|
|
|
|
actions:
|
|
|
|
comment:
|
|
|
|
message: "This pull request now has conflicts with the target branch.
|
|
|
|
Could you please resolve conflicts and force push the corrected
|
|
|
|
changes? 🙏"
|