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 #2072

Closed
wants to merge 1 commit into from
Closed
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
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
Loading