-
Notifications
You must be signed in to change notification settings - Fork 74
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 (#794)
Co-authored-by: Mergify <37929162+mergify[bot]@users.noreply.github.com>
- Loading branch information
1 parent
e5fdcf1
commit 7685ff3
Showing
1 changed file
with
20 additions
and
15 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,28 +1,33 @@ | ||
queue_rules: | ||
- name: main | ||
allow_inplace_checks: True | ||
allow_checks_interruption: True | ||
speculative_checks: 1 | ||
batch_size: 2 | ||
# Wait for a few minutes to embark 2 tickets together in a merge train | ||
batch_max_wait_time: "3 minutes" | ||
conditions: | ||
queue_conditions: | ||
- base=main | ||
- -draft | ||
- label!=do-not-merge | ||
merge_conditions: | ||
# Mergify automatically applies status check, approval, and conversation rules, | ||
# which are the same as the GitHub main branch protection rules | ||
# https://docs.mergify.com/conditions/#about-branch-protection | ||
- base=main | ||
allow_inplace_checks: true | ||
batch_size: 2 | ||
# Wait for a few minutes to embark 2 tickets together in a merge train | ||
batch_max_wait_time: "3 minutes" | ||
merge_method: squash | ||
|
||
pull_request_rules: | ||
- name: main queue triggered when CI passes with 1 review | ||
conditions: [] | ||
actions: | ||
queue: | ||
|
||
priority_rules: | ||
- name: Priority rule from queue `main` | ||
conditions: | ||
# This queue handles a PR if: | ||
# - it targets main | ||
# - is not in draft | ||
# including automated dependabot PRs. | ||
- base=main | ||
- -draft | ||
- label!=do-not-merge | ||
actions: | ||
queue: | ||
name: main | ||
method: squash | ||
allow_checks_interruption: true | ||
|
||
merge_queue: | ||
max_parallel_checks: 1 |