File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 6969 id : validate-yaml-files
7070 run : |
7171 type yamllint || sudo apt-get -y install yamllint
72- find . -name "*.yaml" | xargs yamllint --strict --config-file ./ci/yamllint-config.yaml
73- find . -name "*.yml" | xargs yamllint --strict --config-file ./ci/yamllint-config.yaml
72+ # We ignore the .tekton directory with the konflux pipelines definitions as it's managed by devops (and usually violates rules...).
73+ find . -name "*.yaml" | grep -v "./.tekton/" | xargs yamllint --strict --config-file ./ci/yamllint-config.yaml
74+ find . -name "*.yml" | grep -v "./.tekton/" | xargs yamllint --strict --config-file ./ci/yamllint-config.yaml
7475
7576 # In some YAML files we use JSON strings, let's check these
7677 - name : Validate JSON strings in YAML files (just syntax)
You can’t perform that action at this time.
0 commit comments