Skip to content

Commit

Permalink
Add helm-docs to pre-commit (nginx#2230)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
miledxz committed Jul 11, 2024
1 parent 8c92b57 commit cfdaef6
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,16 @@ repos:
rev: v2.2.0
hooks:
- id: doctoc
args: [--update-only, --title, '## Table of Contents']
args: [--update-only, --title, "## Table of Contents"]

- repo: https://github.com/norwoodj/helm-docs
rev: v1.14.2
hooks:
- id: helm-docs-built
args:
- --chart-search-root=charts
- --template-files=_templates.gotmpl
- --template-files=README.md.gotmpl

ci:
skip: [golangci-lint-full, prettier, markdownlint-cli2, yamllint]
Expand Down

0 comments on commit cfdaef6

Please sign in to comment.