From 283760e8f089e8cdaba6c2a095b03d2de6a9999e Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Sun, 19 Sep 2021 18:05:16 +0300
Subject: [PATCH] Broader test for pre-commit repo.

Test all of the files in the repo, otherwise most (all?) hooks will not
even run.
---
 templates/pre-commit-repo.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/pre-commit-repo.yml b/templates/pre-commit-repo.yml
index 4574999..40afdec 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/
-- 
GitLab