-
-
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
- Loading branch information
1 parent
e9373e6
commit 10741ee
Showing
1 changed file
with
18 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,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 |