-
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(mergify): upgrade configuration to current format (#891)
Co-authored-by: Mergify <37929162+mergify[bot]@users.noreply.github.com>
- Loading branch information
1 parent
8801a27
commit c5863dd
Showing
1 changed file
with
20 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,30 @@ | ||
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 on approval and when GitHub branch | ||
protection passes on main | ||
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: | ||
merge_conditions: | ||
- base=main | ||
merge_method: merge | ||
- name: duplicated default from Automatic merge for leadership team members when | ||
there are no reviewers | ||
queue_conditions: | ||
- "#review-requested=0" | ||
- base=main | ||
- author=@leadership | ||
- label=ready_for_merge | ||
merge_conditions: | ||
- base=main | ||
merge_method: merge | ||
- name: default | ||
conditions: | ||
- base=main | ||
|
||
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 |