-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: add pre-commit hook for helm-docs
With this change, users of pre-commit can register a pre-commit hook that automatically runs helm-docs when a chart changes. This saves contributors such as me from forgetting to run `helm-docs` every single time they commit if they want to do so.
- Loading branch information
1 parent
26614c5
commit 089c1ac
Showing
3 changed files
with
15 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
repos: | ||
- repo: https://github.com/norwoodj/helm-docs | ||
rev: v1.11.0 | ||
hooks: | ||
- id: helm-docs | ||
args: | ||
- --chart-search-root=charts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json" | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"pre-commit": { | ||
"enabled": true | ||
} | ||
} |