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 e4d42b8 commit 1c8037b
Showing 1 changed file with 8 additions and 22 deletions.
30 changes: 8 additions & 22 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,16 @@
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: refactored queue action rule
conditions: []
actions:
queue:
method: merge
name: default

0 comments on commit 1c8037b

Please sign in to comment.