2021-12-15 22:58:00 +00:00
|
|
|
pull_request_rules:
|
2022-01-18 23:30:47 +00:00
|
|
|
- name: automatic squash-merge for master when CI passes and approved
|
2021-12-15 22:58:00 +00:00
|
|
|
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
|
2022-01-18 23:30:47 +00:00
|
|
|
- name: automatic merge for stable when CI passes and approved
|
2021-12-15 23:21:33 +00:00
|
|
|
conditions:
|
2022-01-18 23:30:47 +00:00
|
|
|
- "#approved-reviews-by>=1"
|
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
|
|
|
|
actions:
|
|
|
|
queue:
|
2021-12-16 01:06:06 +00:00
|
|
|
name: default
|
2021-12-15 23:21:33 +00:00
|
|
|
method: rebase
|
2022-01-18 23:30:47 +00:00
|
|
|
rebase_fallback: merge
|
2021-12-15 23:21:33 +00:00
|
|
|
update_method: rebase
|
|
|
|
|
|
|
|
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
|