From 05dac94f18817aac8030a0c540f6c01171474266 Mon Sep 17 00:00:00 2001 From: ggeorgiev_ <ggeorgiev@gitlab.com> Date: Tue, 6 Jul 2021 15:52:14 +0300 Subject: [PATCH] fix no docs --- .gitlab/ci/_rules.gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab/ci/_rules.gitlab-ci.yml b/.gitlab/ci/_rules.gitlab-ci.yml index 27ccc15e6..0154b5749 100644 --- a/.gitlab/ci/_rules.gitlab-ci.yml +++ b/.gitlab/ci/_rules.gitlab-ci.yml @@ -150,6 +150,6 @@ # Used for commits including ONLY documentation changes. # https://docs.gitlab.com/ee/development/documentation/index.html#branch-naming .except_docs: - except: - variables: - - $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME =~ /(^docs[\/-].*|.*-docs$)/ + rules: + - if: '$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME =~ /(^docs[\/-].*|.*-docs$)/' + when: never -- GitLab