diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 29cdb054ea5d093b8530d39fcb71b054aa830a0e..5a27ce04600ac22b27d16f5ca89d396ecf734172 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -8,7 +8,7 @@ workflow:
     # run pipeline on commits to default branch
     - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
     # skip pipeline for branches that start with "docs"
-    - if: '$CI_COMMIT_REF_NAME =~ /^docs/'
+    - if: '$CI_COMMIT_REF_NAME =~ /^doc*/i'
       when: never
 
 # include templates