2021-12-15 22:58:00 +00:00
|
|
|
pull_request_rules:
|
|
|
|
- name: automatic merge for main when CI passes and approved
|
|
|
|
conditions:
|
|
|
|
- "#approved-reviews-by>=1"
|
2022-01-03 21:35:09 +00:00
|
|
|
- and:
|
2021-12-16 14:06:52 +00:00
|
|
|
# Unfortunately, we cannot just say "all CI must pass".
|
|
|
|
# This is not a bot limitation, but a limitation in Github itself.
|
2022-01-03 21:35:09 +00:00
|
|
|
- check-success=all-tests
|
|
|
|
- check-success=docker
|
|
|
|
- check-success=SonarCloud Code Analysis
|
2021-12-15 22:58:00 +00:00
|
|
|
- base=master
|
|
|
|
actions:
|
2021-12-15 23:21:33 +00:00
|
|
|
queue:
|
|
|
|
name: default
|
2021-12-15 22:58:00 +00:00
|
|
|
method: squash
|
|
|
|
rebase_fallback: none
|
2021-12-15 23:21:33 +00:00
|
|
|
update_method: rebase
|
|
|
|
- name: automatic merge for stable backports when CI passes
|
|
|
|
conditions:
|
2022-01-03 21:35:09 +00:00
|
|
|
- and:
|
|
|
|
# Unfortunately, we cannot just say "all CI must pass".
|
|
|
|
# This is not a bot limitation, but a limitation in Github itself.
|
|
|
|
- check-success=all-tests
|
|
|
|
- check-success=docker
|
|
|
|
- check-success=SonarCloud Code Analysis
|
2021-12-15 23:21:33 +00:00
|
|
|
- base=stable
|
|
|
|
- or:
|
|
|
|
- "#approved-reviews-by>=1"
|
|
|
|
- author=mergify[bot]
|
|
|
|
actions:
|
|
|
|
queue:
|
2021-12-16 01:06:06 +00:00
|
|
|
name: default
|
2021-12-15 23:21:33 +00:00
|
|
|
method: rebase
|
|
|
|
rebase_fallback: none
|
|
|
|
update_method: rebase
|
2021-12-15 22:58:00 +00:00
|
|
|
- name: copy patches to stable branch
|
|
|
|
conditions:
|
|
|
|
- base=master
|
|
|
|
- label!=unstable
|
|
|
|
actions:
|
|
|
|
backport:
|
|
|
|
branches:
|
|
|
|
- stable
|
2022-01-03 21:08:13 +00:00
|
|
|
- name: assign code owners to stable merge conflicts
|
|
|
|
conditions:
|
|
|
|
- conflict
|
|
|
|
- base=stable
|
|
|
|
actions:
|
|
|
|
assign:
|
|
|
|
add_users:
|
2021-12-15 23:21:33 +00:00
|
|
|
- master-of-zen
|
|
|
|
- redzic
|
|
|
|
- shssoichiro
|
|
|
|
|
|
|
|
queue_rules:
|
|
|
|
- name: default
|
|
|
|
conditions:
|
2022-01-03 21:35:09 +00:00
|
|
|
- and:
|
|
|
|
# Unfortunately, we cannot just say "all CI must pass".
|
|
|
|
# This is not a bot limitation, but a limitation in Github itself.
|
|
|
|
- check-success=all-tests
|
|
|
|
- check-success=docker
|
|
|
|
- check-success=SonarCloud Code Analysis
|