Skip to content

Commit efea992

Browse files
authored
Add helm-docs to pre-commit (#2230)
Problem: helm-docs wasn't working correctly with pre-commit when we started using it, but now it's fixed Solution: Add helm-docs to pre-commit now that it works
1 parent 6cbb524 commit efea992

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.pre-commit-config.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,16 @@ repos:
6767
rev: v2.2.0
6868
hooks:
6969
- id: doctoc
70-
args: [--update-only, --title, '## Table of Contents']
70+
args: [--update-only, --title, "## Table of Contents"]
71+
72+
- repo: https://github.com/norwoodj/helm-docs
73+
rev: v1.14.2
74+
hooks:
75+
- id: helm-docs-built
76+
args:
77+
- --chart-search-root=charts
78+
- --template-files=_templates.gotmpl
79+
- --template-files=README.md.gotmpl
7180

7281
ci:
7382
skip: [golangci-lint-full, prettier, markdownlint-cli2, yamllint]

0 commit comments

Comments
 (0)