diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6fc6da6dac9759a778df09a65821d6afdce9472c..8309e8b4cbc2db31aacb7e923c689c6a4a07ab03 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,7 +5,7 @@ image:
     - 'PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
 workflow:
   rules:
-    - if: '$CI_COMMIT_MESSAGE =~ /^no-pipe/'
+    - if: '$CI_COMMIT_MESSAGE =~ /^(no-pipe)/'
       when: never
 stages:
   - Test and Lint