diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2363fd372e65777345e5a5a1231a1a1417428ab7..14e1a4ac1c8e80578f9fb57a4e3cd3038474506e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,4 +6,4 @@ lint:shell-script:
   before_script:
     - shellcheck -V
   script:
-    - find bin -name "*" -exec shellcheck {} \;
+    - find bin -type f -name "*" -exec shellcheck {} \;