Commit f11932a7 authored by nimrod's avatar nimrod
Browse files

More selective template linting.

Only on schedule or if the templates are changed.
parent f845f9dc
Loading
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -31,6 +31,10 @@ lint templates:
    # yamllint enable rule:line-length
  variables:
    XDG_CACHE_HOME: "$CI_PROJECT_DIR/.cache"
  rules:
    - if: $CI_PIPELINE_SOURCE == "push"
      changes:
        - templates/*
  cache:
    paths:
      - .cache/