diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5e082b81d2dfc76585ed522bbc907821e9833372..ffc46b0df86373ed93925a52fe00588013b6d310 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -12,10 +12,11 @@ docs:
 two spaces:
   stage: test
   image: davidhrbac/docker-mdcheck:latest
-  allow_failure: true
-  script:
+  before_script:
   - echo "== Files having more than one space betwee two characters =="
   - find docs.it4i/ -name '*.md' -exec grep "[[:alpha:]]  [[:alpha:]]" -l {} + || true
+  script:
+  - find docs.it4i/ -name '*.md' -exec grep "[[:alpha:]]  [[:alpha:]]" -l {} + | grep docs.it4i/ -v
 
 capitalize:
   stage: test