-
-
Notifications
You must be signed in to change notification settings - Fork 231
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
e4d42b8
commit 3144301
Showing
1 changed file
with
8 additions
and
22 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,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 |