diff --git a/templates/pre-commit-repo.yml b/templates/pre-commit-repo.yml
index 4574999d98a5ad0967c411c40f62c21ade46d23e..40afdec3b238958c15dd5432d171b9e3a376a3c0 100644
--- a/templates/pre-commit-repo.yml
+++ b/templates/pre-commit-repo.yml
@@ -6,7 +6,7 @@ pre-commit-repo:
   variables:
     XDG_CACHE_HOME: "$CI_PROJECT_DIR/.cache"
   script:
-    - pre-commit try-repo ./
+    - pre-commit try-repo --all-files ./
   cache:
     paths:
       - .cache/