Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(mergify): upgrade configuration to current format #891

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
- 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: 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