Skip to content

Commit 7e1a88c

Browse files
authored
ignore yamllint in konflux insta-merge.yaml file (opendatahub-io#1387)
It will just revert any fixes in there.
1 parent e2d781b commit 7e1a88c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/code-quality.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ jobs:
6969
id: validate-yaml-files
7070
run: |
7171
type yamllint || sudo apt-get -y install yamllint
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
72+
# We ignore the insta-merge.yaml and .tekton directory with the konflux pipelines definitions as it's managed by devops (and usually violates rules...).
73+
find . -name "*.yaml" | grep -v "./.tekton/" | grep -v "./.github/workflows/insta-merge.yaml" | xargs yamllint --strict --config-file ./ci/yamllint-config.yaml
7474
find . -name "*.yml" | grep -v "./.tekton/" | xargs yamllint --strict --config-file ./ci/yamllint-config.yaml
7575
7676
# In some YAML files we use JSON strings, let's check these

0 commit comments

Comments
 (0)