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 22, 2024
1 parent e4d42b8 commit 6e4e53a
Showing 1 changed file with 9 additions and 22 deletions.
31 changes: 9 additions & 22 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,17 @@
queue_rules:
- name: default
conditions:
- -draft # not a draft
- base=main

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

pull_request_rules:
- name: Automatic merge for leadership team members when there are no reviewers and the label is "ready"
conditions:
- "#review-requested=0"
- "#changes-requested-reviews-by<1"
- -draft
merge_conditions:
- -draft # not a draft
- base=main
- author=@leadership
- label=ready
merge_method: merge

pull_request_rules:
- name: Automatic merge on approval and when when GitHub branch protection passes
on main
conditions: []
actions:
queue:
method: merge
name: default

0 comments on commit 6e4e53a

Please sign in to comment.