Skip to content

Commit

Permalink
ci(mergify): upgrade configuration to current format
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] committed Nov 28, 2024
1 parent f549793 commit 41ce6e0
Showing 1 changed file with 30 additions and 16 deletions.
46 changes: 30 additions & 16 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@

pull_request_rules:
- name: automatic squash-merge for master when CI passes and approved
conditions:
- name: automatic merge for stable when CI passes and approved + automatic squash-merge
for master when CI passes and approved
conditions: []
actions:
queue:
queue_rules:
- name: duplicated default from automatic squash-merge for master when CI passes
and approved
queue_conditions:
- "#approved-reviews-by>=1"
- and:
# Unfortunately, we cannot just say "all CI must pass".
Expand All @@ -9,13 +17,17 @@ pull_request_rules:
- 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:
merge_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
update_method: rebase
merge_method: squash
- name: duplicated default from automatic merge for stable when CI passes and approved
queue_conditions:
- "#approved-reviews-by>=1"
- and:
# Unfortunately, we cannot just say "all CI must pass".
Expand All @@ -24,13 +36,15 @@ pull_request_rules:
- check-success=docker
- check-success=SonarCloud Code Analysis
- base=stable
actions:
queue:
name: default
method: rebase
update_method: rebase

queue_rules:
merge_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
update_method: rebase
merge_method: rebase
- name: default
conditions:
- and:
Expand Down

0 comments on commit 41ce6e0

Please sign in to comment.