ci: automatically add ok-to-test to PRs created by Mergify

Mergify does not automatically rebase PRs that are queued for merging
(anymore?). Instead, it creates a new draft PR that is expected to get
tested by the CI. At the moment someone needs to add the `ok-to-test`
label to the PR. This is cumbersome and can cause delays in the merge
process.

The configuration for Mergify now includes a rule that any PR created by
Mergify, will automatically get the `ok-to-test` label. This should make
it easier to get PR merged.

See-also: #3796
Signed-off-by: Niels de Vos <ndevos@ibm.com>
This commit is contained in:
Niels de Vos 2023-05-04 17:40:13 +02:00 committed by Niels de Vos
parent d0626d42e0
commit c4d372e207

View File

@ -49,10 +49,10 @@ queue_rules:
- "status-success=ci/centos/jjb-validate"
pull_request_rules:
- name: start CI jobs for queued PR
- name: start CI jobs for merge queue PRs by Mergify
conditions:
- base~=^(devel)|(release-.+)$
- "check-pending=Queue: Embarked in merge train"
- author=mergify
- not:
check-pending~=^ci/centos
- not: