2022-06-14 17:28:31 -07:00
|
|
|
queue_rules:
|
2023-06-16 03:23:03 -07:00
|
|
|
- name: main
|
2022-06-14 17:28:31 -07:00
|
|
|
allow_inplace_checks: True
|
2023-06-16 03:23:03 -07:00
|
|
|
allow_checks_interruption: True
|
2022-06-14 17:28:31 -07:00
|
|
|
speculative_checks: 1
|
2023-06-16 03:23:03 -07:00
|
|
|
batch_size: 2
|
|
|
|
# Wait for a few minutes to embark 2 tickets together in a merge train
|
|
|
|
batch_max_wait_time: "3 minutes"
|
2022-06-14 17:28:31 -07:00
|
|
|
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
|
|
|
|
|
|
|
|
pull_request_rules:
|
2023-06-16 03:23:03 -07:00
|
|
|
- name: main queue triggered when CI passes with 1 review
|
2022-06-14 17:28:31 -07:00
|
|
|
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:
|
2023-06-16 03:23:03 -07:00
|
|
|
name: main
|
2022-06-14 17:28:31 -07:00
|
|
|
method: squash
|