2022-01-07 16:11:01 -08:00
|
|
|
queue_rules:
|
|
|
|
- name: urgent
|
|
|
|
speculative_checks: 2
|
|
|
|
batch_size: 2
|
|
|
|
conditions:
|
2022-01-13 15:34:09 -08:00
|
|
|
- check-success=Test (+stable) on ubuntu-latest
|
|
|
|
- check-success=Test (+stable) on macOS-latest
|
|
|
|
- check-success=Test (+stable) on windows-latest
|
|
|
|
- check-success=pull-request (zealous-zebra)
|
|
|
|
- check-success=Coverage (+nightly)
|
2022-01-07 16:11:01 -08:00
|
|
|
|
|
|
|
- name: medium
|
|
|
|
speculative_checks: 2
|
|
|
|
batch_size: 3
|
|
|
|
conditions:
|
2022-01-13 15:34:09 -08:00
|
|
|
- check-success=Test (+stable) on ubuntu-latest
|
|
|
|
- check-success=Test (+stable) on macOS-latest
|
|
|
|
- check-success=Test (+stable) on windows-latest
|
|
|
|
- check-success=pull-request (zealous-zebra)
|
|
|
|
- check-success=Coverage (+nightly)
|
2022-01-07 16:11:01 -08:00
|
|
|
|
2022-01-13 15:34:09 -08:00
|
|
|
- name: low
|
2022-01-07 16:11:01 -08:00
|
|
|
speculative_checks: 2
|
|
|
|
batch_size: 4
|
|
|
|
conditions:
|
2022-01-13 15:34:09 -08:00
|
|
|
- check-success=Test (+stable) on ubuntu-latest
|
|
|
|
- check-success=Test (+stable) on macOS-latest
|
|
|
|
- check-success=Test (+stable) on windows-latest
|
|
|
|
- check-success=pull-request (zealous-zebra)
|
|
|
|
- check-success=Coverage (+nightly)
|
2022-01-07 16:11:01 -08:00
|
|
|
|
|
|
|
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:
|
|
|
|
- "#approved-reviews-by>=1"
|
|
|
|
- -draft
|
|
|
|
- base=main
|
2022-01-13 15:34:09 -08:00
|
|
|
- or:
|
|
|
|
- "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:
|
|
|
|
- "#approved-reviews-by>=1"
|
|
|
|
- -draft
|
|
|
|
- base=main
|
2022-01-13 15:34:09 -08: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:
|
|
|
|
- "#approved-reviews-by>=1"
|
|
|
|
- -draft
|
|
|
|
- base=main
|
2022-01-13 15:34:09 -08:00
|
|
|
- or:
|
2022-01-26 03:45:14 -08:00
|
|
|
- "label~=^P-Low"
|
|
|
|
- "label~=^P-Optional"
|
2022-01-07 16:11:01 -08:00
|
|
|
- label!=do-not-merge
|
|
|
|
actions:
|
|
|
|
queue:
|
2022-01-13 15:34:09 -08:00
|
|
|
name: low
|
|
|
|
method: squash
|
|
|
|
|
|
|
|
- name: automatic merge for Dependabot pull requests
|
|
|
|
conditions:
|
|
|
|
- "#approved-reviews-by>=1"
|
|
|
|
- author~=^dependabot(|-preview)\[bot\]$
|
|
|
|
- check-success=Test (+stable) on ubuntu-latest
|
|
|
|
- check-success=Test (+stable) on macOS-latest
|
|
|
|
- check-success=Test (+stable) on windows-latest
|
|
|
|
- check-success=pull-request (zealous-zebra)
|
|
|
|
- check-success=Coverage (+nightly)
|
|
|
|
actions:
|
|
|
|
merge:
|
2022-01-26 03:45:14 -08:00
|
|
|
method: squash
|