github: require Pacific and dpulls to pass before merging

Tests are running against Ceph Pacific and passing, so this can be
marked as a required CI status.

dpulls handles dependencies between PRs, once the status is marked with
success, the requirements have all been merged. Prevent merging when
dpulls is in a failed state.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos 2021-05-17 16:34:58 +02:00 committed by Sven Anderson
parent 8ed302c7a0
commit 78f2f30f63
1 changed files with 2 additions and 0 deletions

2
.github/mergify.yml vendored
View File

@ -15,10 +15,12 @@ pull_request_rules:
- "#approved-reviews-by>=2"
- "#changes-requested-reviews-by=0"
- status-success=check
- status-success=dpulls
# each test should be listed separately, do not use regular expressions:
# https://docs.mergify.io/conditions.html#validating-all-status-check
- status-success=test-suite (nautilus)
- status-success=test-suite (octopus)
- status-success=test-suite (pacific)
actions:
merge:
method: rebase