diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b715aefdd4cbad72c13c653052176bd0954c44dc..8c07dcf0f2c741c3ae918e7b66c1fdc9c45d1499 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,6 +6,8 @@ stages:
 
 RebaseCheck:
   stage: checkRepository
+  variables:
+    GIT_DEPTH: 100
   tags:
     - CbmRoot
   only:
@@ -35,6 +37,8 @@ RebaseCheck:
 
 LinearHistCheck:
   stage: checkRepository
+  variables:
+    GIT_DEPTH: 100
   tags:
     - CbmRoot
   only: