diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c48fc9c6ab8e0ca13c206d9d5dcaf6c8c8e5aa76..fe2865b43182d3afac7a1513212bcd1cde988e13 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -364,13 +364,16 @@ build_test_example-clang-8: - set -o pipefail - make -j2 install rules: + - if: '$CI_MERGE_REQUEST_LABELS =~ /Ready for code review/' # run on merge requests, if label 'Ready for code review' is set + - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH + when: manual + allow_failure: true - if: $CI_MERGE_REQUEST_ID when: manual + allow_failure: true - if: $CI_COMMIT_TAG when: manual - - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - - if: $CI_COMMIT_BRANCH - when: manual + allow_failure: true cache: paths: - ${CI_PROJECT_DIR}/build/