Av1an/.mergify.yml
Josh Holmer 509568987b ci(Mergify): configuration update
Signed-off-by: Josh Holmer <null>
2023-03-27 13:34:38 -04:00

41 lines
1.3 KiB
YAML

pull_request_rules:
- name: automatic squash-merge for master when CI passes and approved
conditions:
- "#approved-reviews-by>=1"
- 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
- base=master
actions:
queue:
name: default
method: squash
update_method: rebase
- name: automatic merge for stable when CI passes and approved
conditions:
- "#approved-reviews-by>=1"
- 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
- base=stable
actions:
queue:
name: default
method: rebase
update_method: rebase
queue_rules:
- name: default
conditions:
- 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