diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 1af59d3a872764e74d954ccad5ff342f70ec1345..e2124a3631f71c666c857928b801bf494dfc6319 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,6 +1,6 @@
 repos:
-  - repo: https://github.com/kynan/nbstripout
-    rev: main # Use a specific tag or commit hash for stability
+  - repo: https://gitlab.cern.ch/pre-commit-hook-mirrors/kynan/nbstripout
+    rev: 0.8.0
     hooks:
       - id: nbstripout
         files: \.ipynb$