Commit ec4e732a authored by nimrod's avatar nimrod
Browse files

Don't run pre-commit on scheduled builds.

There's really no point in it. I usually keep the master branch
buildable and working so running pre-commit is a waste of time and a
source for failed builds that shouldn't be.
parent 283760e8
Loading
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -3,6 +3,8 @@ pre-commit:
  stage: .pre
  image: registry.shore.co.il/ci-images:pre-commit
  tags: [ns4.shore.co.il]
  rules:
    - if: $CI_PIPELINE_SOURCE != "schedule"
  variables:
    XDG_CACHE_HOME: "$CI_PROJECT_DIR/.cache"
    SKIP: |-