mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-09 16:00:22 +00:00
ci: add ok-to-test
label to all PRs in the merge queue
It seems that some PRs still get rebased by Mergify, whereas others get
tested for the **merge queue** by creating a new temporary PR. In both
cases the `ok-to-test` label should get set automatically.
Fixes: c4d372e
(ci: automatically add `ok-to-test` to PRs created by Mergify)
Signed-off-by: Niels de Vos <ndevos@ibm.com>
This commit is contained in:
parent
c37ac53cbb
commit
287a854f7f
@ -49,14 +49,16 @@ queue_rules:
|
|||||||
- "status-success=ci/centos/jjb-validate"
|
- "status-success=ci/centos/jjb-validate"
|
||||||
|
|
||||||
pull_request_rules:
|
pull_request_rules:
|
||||||
- name: start CI jobs for merge queue PRs by Mergify
|
- name: start CI jobs for PRs in the merge queue
|
||||||
conditions:
|
conditions:
|
||||||
- base~=^(devel)|(release-.+)$
|
- base~=^(devel)|(release-.+)$
|
||||||
- author=mergify
|
|
||||||
- not:
|
- not:
|
||||||
check-pending~=^ci/centos
|
check-pending~=^ci/centos
|
||||||
- not:
|
- not:
|
||||||
status-success~=^ci/centos
|
status-success~=^ci/centos
|
||||||
|
- or:
|
||||||
|
- "check-pending=Queue: Embarked in merge train"
|
||||||
|
- author=mergify
|
||||||
actions:
|
actions:
|
||||||
label:
|
label:
|
||||||
add:
|
add:
|
||||||
|
Loading…
Reference in New Issue
Block a user