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 69
69
id : validate-yaml-files
70
70
run : |
71
71
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
74
75
75
76
# In some YAML files we use JSON strings, let's check these
76
77
- name : Validate JSON strings in YAML files (just syntax)
You can’t perform that action at this time.
0 commit comments