2019-03-22 05:27:56 +00:00
|
|
|
---
|
2019-01-31 17:03:31 +00:00
|
|
|
pull_request_rules:
|
2019-09-02 11:45:21 +00:00
|
|
|
- name: remove outdated approvals
|
|
|
|
conditions:
|
|
|
|
- base=master
|
|
|
|
actions:
|
|
|
|
dismiss_reviews:
|
|
|
|
approved: true
|
|
|
|
changes_requested: false
|
2019-01-31 17:03:31 +00:00
|
|
|
- name: automatic merge
|
|
|
|
conditions:
|
|
|
|
- label!=DNM
|
2019-09-27 12:47:41 +00:00
|
|
|
- base=master
|
2019-09-27 08:27:13 +00:00
|
|
|
- "#approved-reviews-by>=2"
|
2019-09-27 08:31:52 +00:00
|
|
|
- "#changes-requested-reviews-by=0"
|
2019-09-27 08:27:13 +00:00
|
|
|
- "status-success=continuous-integration/travis-ci/pr"
|
2019-01-31 17:03:31 +00:00
|
|
|
actions:
|
|
|
|
merge:
|
|
|
|
method: rebase
|
|
|
|
rebase_fallback: merge
|
|
|
|
strict: smart
|
|
|
|
dismiss_reviews: {}
|
|
|
|
delete_head_branch: {}
|
2020-01-20 11:05:47 +00:00
|
|
|
- name: backport patches to release v1.2.0 branch
|
2019-09-26 07:40:04 +00:00
|
|
|
conditions:
|
|
|
|
- base=master
|
|
|
|
- label=backport-to-release-v1.2.0
|
|
|
|
actions:
|
|
|
|
backport:
|
|
|
|
branches:
|
|
|
|
- release-v1.2.0
|
2019-09-27 08:20:12 +00:00
|
|
|
# automerge backports if CI successfully ran
|
|
|
|
- name: automerge backport release-v1.2.0
|
|
|
|
conditions:
|
|
|
|
- author=mergify[bot]
|
|
|
|
- base=release-v1.2.0
|
|
|
|
- label!=DNM
|
|
|
|
- "#changes-requested-reviews-by=0"
|
|
|
|
- "#approved-reviews-by>=1"
|
|
|
|
- "status-success=continuous-integration/travis-ci/pr"
|
|
|
|
actions:
|
|
|
|
merge:
|
|
|
|
method: rebase
|
|
|
|
rebase_fallback: merge
|
|
|
|
strict: smart
|
|
|
|
dismiss_reviews: {}
|
|
|
|
delete_head_branch: {}
|
2020-01-20 11:05:47 +00:00
|
|
|
- name: backport patches to release-v2.0 branch
|
|
|
|
conditions:
|
|
|
|
- base=master
|
|
|
|
- label=backport-to-release-v2.0
|
|
|
|
actions:
|
|
|
|
backport:
|
|
|
|
branches:
|
|
|
|
- release-v2.0
|
|
|
|
# automerge backports if CI successfully ran
|
|
|
|
- name: automerge backport release-v2.0
|
|
|
|
conditions:
|
|
|
|
- author=mergify[bot]
|
|
|
|
- base=release-v2.0
|
|
|
|
- label!=DNM
|
|
|
|
- "#changes-requested-reviews-by=0"
|
|
|
|
- "#approved-reviews-by>=1"
|
|
|
|
- "status-success=continuous-integration/travis-ci/pr"
|
|
|
|
actions:
|
|
|
|
merge:
|
|
|
|
method: rebase
|
|
|
|
rebase_fallback: merge
|
|
|
|
strict: smart
|
|
|
|
dismiss_reviews: {}
|
|
|
|
delete_head_branch: {}
|