Loading templates/pre-commit-repo.yml +3 −0 Original line number Diff line number Diff line Loading @@ -3,6 +3,9 @@ pre-commit-repo: stage: test image: registry.shore.co.il/ci-images:pre-commit tags: [ns4.shore.co.il] rules: - exists: - .pre-commit-hooks.yaml variables: XDG_CACHE_HOME: "$CI_PROJECT_DIR/.cache" script: Loading templates/pre-commit.yml +2 −0 Original line number Diff line number Diff line Loading @@ -6,6 +6,8 @@ pre-commit: tags: [ns4.shore.co.il] rules: - if: $CI_PIPELINE_SOURCE != "schedule" exists: - .pre-commit-config.yaml variables: XDG_CACHE_HOME: "$CI_PROJECT_DIR/.cache" SKIP: |- Loading Loading
templates/pre-commit-repo.yml +3 −0 Original line number Diff line number Diff line Loading @@ -3,6 +3,9 @@ pre-commit-repo: stage: test image: registry.shore.co.il/ci-images:pre-commit tags: [ns4.shore.co.il] rules: - exists: - .pre-commit-hooks.yaml variables: XDG_CACHE_HOME: "$CI_PROJECT_DIR/.cache" script: Loading
templates/pre-commit.yml +2 −0 Original line number Diff line number Diff line Loading @@ -6,6 +6,8 @@ pre-commit: tags: [ns4.shore.co.il] rules: - if: $CI_PIPELINE_SOURCE != "schedule" exists: - .pre-commit-config.yaml variables: XDG_CACHE_HOME: "$CI_PROJECT_DIR/.cache" SKIP: |- Loading