Skip to content

Commit

Permalink
ci(mergify): upgrade configuration to current format (#891)
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 6, 2024
1 parent 8801a27 commit c5863dd
Showing 1 changed file with 20 additions and 16 deletions.
36 changes: 20 additions & 16 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,30 @@
queue_rules:
- name: default
conditions:
- base=main

pull_request_rules:
- name: Automatic merge on approval and when GitHub branch protection passes on main
conditions:
- name: duplicated default from Automatic merge on approval and when GitHub branch
protection passes on main
queue_conditions:
- "#approved-reviews-by>=1"
- "#changes-requested-reviews-by=0"
- base=main
actions:
queue:
method: merge
name: default

- name: Automatic merge for leadership team members when there are no reviewers
conditions:
merge_conditions:
- base=main
merge_method: merge
- name: duplicated default from Automatic merge for leadership team members when
there are no reviewers
queue_conditions:
- "#review-requested=0"
- base=main
- author=@leadership
- label=ready_for_merge
merge_conditions:
- base=main
merge_method: merge
- name: default
conditions:
- base=main

pull_request_rules:
- name: Automatic merge for leadership team members when there are no reviewers
+ Automatic merge on approval and when GitHub branch protection passes on main
conditions: []
actions:
queue:
method: merge
name: default

0 comments on commit c5863dd

Please sign in to comment.