Don't run clang-tidy on draft MR [skipci]

See https://gitlab.com/gitlab-org/gitlab/-/issues/15065
This commit is contained in:
jvoisin 2024-02-02 04:38:46 +01:00
parent 2114f84939
commit 972e1aebef

View File

@ -357,6 +357,9 @@ Ubuntu_Clang:
.Ubuntu_Clang_Tidy_Base:
extends: Ubuntu_Clang
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_TITLE =~ /^(\[Draft\]|\(Draft\)|Draft:)/'
when: never
before_script:
- CI/install_debian_deps.sh clang clang-tidy openmw-deps openmw-deps-dynamic
cache: