Skip to content

Commit ded393e

Browse files
authored
Merge pull request #4512 from sarthaksarthak9/lint
🌱 : Add YAML Linting to CI Workflow for Scaffolded Charts
2 parents 543b4a1 + 8253931 commit ded393e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,9 @@ lint-config: golangci-lint ## Verify golangci-lint linter configuration
118118

119119
.PHONY: yamllint
120120
yamllint:
121-
@files=$$(find testdata -name '*.yaml' ! -path 'testdata/*/dist/*'); \
122-
docker run --rm $$(tty -s && echo "-it" || echo) -v $(PWD):/data cytopia/yamllint:latest $$files -d "{extends: relaxed, rules: {line-length: {max: 120}}}" --no-warnings
123-
121+
@files=$$(find testdata -name '*.yaml' ! -path 'testdata/*/dist/chart/install.yaml'); \
122+
docker run --rm $$(tty -s && echo "-it" || echo) -v $(PWD):/data cytopia/yamllint:latest $$files -d "{extends: relaxed, rules: {line-length: {max: 120}}}" --no-warnings
123+
124124
GOLANGCI_LINT = $(shell pwd)/bin/golangci-lint
125125
golangci-lint:
126126
@[ -f $(GOLANGCI_LINT) ] || { \

0 commit comments

Comments
 (0)