-
Notifications
You must be signed in to change notification settings - Fork 365
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
269c26f
commit 4231e48
Showing
1 changed file
with
11 additions
and
14 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,23 +1,20 @@ | ||
queue_rules: | ||
- name: automerge | ||
conditions: [] # No additional rules, because branch-protection does them. | ||
|
||
pull_request_rules: | ||
- name: automatic merge on CI success and review | ||
conditions: | ||
queue_conditions: | ||
- base=main | ||
- "#approved-reviews-by>=1" | ||
- label=automerge | ||
- label!=on hold | ||
# GitHub branch-protection rules are automatically applied by mergify, so | ||
# the queue can't actually merge things unless _all_ statuses are passed. | ||
# This section is just a sanity check before the PR can enter the main | ||
# queue. | ||
- or: | ||
- check-success=tests_linux (3.10, ubuntu-latest) | ||
- check-neutral=tests_linux (3.10, ubuntu-latest) | ||
- check-skipped=tests_linux (3.10, ubuntu-latest) | ||
- check-success=tests_linux (3.10, ubuntu-latest) | ||
- check-neutral=tests_linux (3.10, ubuntu-latest) | ||
- check-skipped=tests_linux (3.10, ubuntu-latest) | ||
merge_conditions: [] # No additional rules, because branch-protection does them. | ||
|
||
merge_method: squash | ||
|
||
pull_request_rules: | ||
- name: automatic merge on CI success and review | ||
conditions: [] | ||
actions: | ||
queue: | ||
name: automerge | ||
method: squash |