Skip to content

Commit

Permalink
👷 ci(mergify): upgrade configuration to the new format (#632)
Browse files Browse the repository at this point in the history
Co-authored-by: Mergify <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
mergify[bot] authored Dec 2, 2024
1 parent ef0ae2f commit cac82d1
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
pull_request_rules:
- name: Automatic merge on approval
conditions:
queue_rules:
- name: default
queue_conditions:
- "#approved-reviews-by>=2"
- check-success=build (stable)
- check-success=CodeFactor
- check-success=Rust project
actions:
queue:
method: squash
merge_conditions: []
merge_method: squash

pull_request_rules:
- name: automatic update of pull requests where more 5 commits behind
conditions:
- "#commits-behind>5"
Expand All @@ -17,4 +18,8 @@ pull_request_rules:
conditions:
- merged
actions:
delete_head_branch: {}
delete_head_branch: {}
- name: Automatic merge on approval
conditions: []
actions:
queue:

0 comments on commit cac82d1

Please sign in to comment.