2022-01-07 16:11:01 -08:00
|
|
|
queue_rules:
|
|
|
|
- name: urgent
|
2022-02-18 14:53:27 -08:00
|
|
|
allow_inplace_checks: False
|
|
|
|
allow_checks_interruption: False
|
2022-01-07 16:11:01 -08:00
|
|
|
speculative_checks: 2
|
|
|
|
batch_size: 2
|
|
|
|
|
|
|
|
- name: medium
|
2022-02-18 14:53:27 -08:00
|
|
|
allow_inplace_checks: False
|
|
|
|
allow_checks_interruption: False
|
2022-01-07 16:11:01 -08:00
|
|
|
speculative_checks: 2
|
|
|
|
batch_size: 3
|
|
|
|
|
2022-01-13 15:34:09 -08:00
|
|
|
- name: low
|
2022-02-18 14:53:27 -08:00
|
|
|
allow_inplace_checks: False
|
|
|
|
allow_checks_interruption: False
|
2022-01-07 16:11:01 -08:00
|
|
|
speculative_checks: 2
|
|
|
|
batch_size: 4
|
|
|
|
|
|
|
|
pull_request_rules:
|
2022-01-13 15:34:09 -08:00
|
|
|
- name: move to urgent queue when CI passes with 1 review and not WIP targeting main
|
2022-01-07 16:11:01 -08:00
|
|
|
conditions:
|
2022-04-11 22:06:37 -07:00
|
|
|
- '#approved-reviews-by>=1'
|
|
|
|
- '#review-threads-unresolved=0'
|
2022-01-07 16:11:01 -08:00
|
|
|
- -draft
|
|
|
|
- base=main
|
2022-01-13 15:34:09 -08:00
|
|
|
- or:
|
2022-04-11 22:06:37 -07:00
|
|
|
- 'label~=^P-Critical'
|
|
|
|
- 'label~=^P-High'
|
2022-01-07 16:11:01 -08:00
|
|
|
- label!=do-not-merge
|
|
|
|
actions:
|
|
|
|
queue:
|
|
|
|
name: urgent
|
2022-01-13 15:34:09 -08:00
|
|
|
method: squash
|
2022-01-07 16:11:01 -08:00
|
|
|
|
2022-01-13 15:34:09 -08:00
|
|
|
- name: move to medium queue when CI passes with 1 review and not WIP targeting main
|
2022-01-07 16:11:01 -08:00
|
|
|
conditions:
|
2022-04-11 22:06:37 -07:00
|
|
|
- '#approved-reviews-by>=1'
|
|
|
|
- '#review-threads-unresolved=0'
|
2022-01-07 16:11:01 -08:00
|
|
|
- -draft
|
|
|
|
- base=main
|
2022-04-11 22:06:37 -07:00
|
|
|
- 'label~=^P-Medium'
|
2022-01-07 16:11:01 -08:00
|
|
|
- label!=do-not-merge
|
|
|
|
actions:
|
|
|
|
queue:
|
|
|
|
name: medium
|
2022-01-13 15:34:09 -08:00
|
|
|
method: squash
|
2022-01-07 16:11:01 -08:00
|
|
|
|
2022-01-13 15:34:09 -08:00
|
|
|
- name: move to low queue when CI passes with 1 review and not WIP targeting main
|
2022-01-07 16:11:01 -08:00
|
|
|
conditions:
|
2022-04-11 22:06:37 -07:00
|
|
|
- '#approved-reviews-by>=1'
|
|
|
|
- '#review-threads-unresolved=0'
|
2022-01-07 16:11:01 -08:00
|
|
|
- -draft
|
|
|
|
- base=main
|
|
|
|
- label!=do-not-merge
|
2022-02-01 18:07:33 -08:00
|
|
|
# This queue handles Low, Optional, and PRs with no priority label,
|
|
|
|
# including automated dependabot PRs.
|
|
|
|
#
|
|
|
|
# We don't need to check priority labels here, because the rules are evaluated in order:
|
|
|
|
# https://docs.mergify.com/configuration/#pull-request-rules
|
2022-01-07 16:11:01 -08:00
|
|
|
actions:
|
|
|
|
queue:
|
2022-01-13 15:34:09 -08:00
|
|
|
name: low
|
|
|
|
method: squash
|