diff --git a/.gitlab-ci/shellcheck.yml b/.gitlab-ci/shellcheck.yml
index bf8cae43c15c3a2d48374a77c1d4d6e57231e398..ca9e4324e17e65fb25a854efb504b2150e926e2b 100644
--- a/.gitlab-ci/shellcheck.yml
+++ b/.gitlab-ci/shellcheck.yml
@@ -12,5 +12,5 @@ shellcheck:
     - shellcheck --version
   script:
     # Run shellcheck for all *.sh except contrib/
-    - find . -name '*.sh' -not -path './contrib/*' | xargs shellcheck --severity error
+    - find . -name '*.sh' -not -path './contrib/*' -not -path './.git/*' | xargs shellcheck --severity error
   except: ['triggers', 'master']