diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d5a39dad19b7786d922f3d092a87325628730fb0..3da9e139be7c35269520588e56670441feb16f0a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -49,7 +49,7 @@ stages:
   only: [merge_requests]
   stage: build
   before_script:
-    - git lfs install
+    - git lfs install --skip-repo
     # Provision efficiently the local LFS cache before checkout
     - git lfs fetch origin $CI_COMMIT_SHA
     # Checkout the expected branch
@@ -80,7 +80,9 @@ ubuntu-llvm:
   stage: prepare
   before_script:
     - git checkout -f -q $CI_COMMIT_SHA
-    - git lfs install
+    - git lfs install --skip-repo
+    - git config --global user.email "otbbot@orfeo-toolbox.org"
+    - git config --global user.name "otbbot"
   artifacts:
     expire_in: 24 hrs
     when: always