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:
Niels de Vos 2023-05-11 13:34:10 +02:00 committed by Niels de Vos
parent c37ac53cbb
commit 287a854f7f

View File

@ -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: