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 21, 2024
1 parent e9373e6 commit a565e01
Showing 1 changed file with 18 additions and 16 deletions.
34 changes: 18 additions & 16 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,28 @@
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 for leadership team members when
there are no reviewers
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:
- "#review-requested=0"
- base=main
- author=@leadership
- label=ready_for_merge
merge_conditions: []
merge_method: merge
method: merge
- name: default
queue_conditions:
- "#approved-reviews-by>=1"
- "#changes-requested-reviews-by=0"
- base=main
merge_conditions:
- base=main
merge_method: merge

pull_request_rules:
- name: refactored queue action rule
conditions: []
actions:
queue:
method: merge
name: default

0 comments on commit a565e01

Please sign in to comment.