diff --git a/templates/pre-commit.yml b/templates/pre-commit.yml index 8bb1f7fe7c85d563e9611907f575a0747c7098fd..b669453e9bf646ac3c0d179b06f1f9e2aed7319a 100644 --- a/templates/pre-commit.yml +++ b/templates/pre-commit.yml @@ -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: |-