Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
Pipeline #2360 passed
......@@ -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/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment