Commit b5c2eca3 authored by sagnowski's avatar sagnowski
Browse files

Add --local flag to git lfs install in mirroring job

This ensures git config is only changed for the checked out repository and not globally
parent b401138f
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -175,7 +175,7 @@ pull-from-3gpp-forge:
    - if: $MIRROR_ACCESS_TOKEN # Only run in the mirror update pipeline (only then MIRROR_ACCESS_TOKEN is defined)
  script:
    # Set up git LFS for mirroring (see: https://github.com/git-lfs/git-lfs/issues/1762)
    - git lfs install --skip-smudge
    - git lfs install --skip-smudge --local
    
    # Check out mirror branch - by default the runner checks out by commit hash, which results in detached head state
    - git checkout $CI_COMMIT_BRANCH