ci: do not add the ok-to-test label if there is a conflict

When there is a conflict in merging a PR, the `ok-to-test` label should
not be added automatically. This prevents a loop in triggering CI jobs
for PRs that might not even build.

Signed-off-by: Niels de Vos <ndevos@ibm.com>
This commit is contained in:
Niels de Vos 2024-04-11 17:24:35 +02:00 committed by Madhu Rajanna
parent ae7f513816
commit c1dd15ae59

View File

@ -95,6 +95,7 @@ pull_request_rules:
- name: start CI jobs for PRs in the merge queue
conditions:
- base~=^(devel)|(release-.+)$
- label!=conflicts
- not:
check-pending~=^ci/centos
- not: