Commit 40c1b007 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Force fetch default branch for CI code analysis

parent 57774426
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -119,7 +119,7 @@ Code Analysis:
  before_script:
    - pip install pre-commit
  script:
    - git fetch $CI_REPOSITORY_URL $FROM_REF:FROM_REF
    - git fetch $CI_REPOSITORY_URL $FROM_REF:FROM_REF -f
    - pre-commit run
      --hook-stage=commit
      --from-ref=FROM_REF