We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 16e3874 + b24627e commit 947dea7Copy full SHA for 947dea7
.github/workflows/code-quality.yaml
@@ -69,8 +69,9 @@ jobs:
69
id: validate-yaml-files
70
run: |
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
+ # We ignore the .tekton directory with the konflux pipelines definitions as it's managed by devops (and usually violates rules...).
+ 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
75
76
# In some YAML files we use JSON strings, let's check these
77
- name: Validate JSON strings in YAML files (just syntax)
0 commit comments