Skip to content

Commit 3cfab7a

Browse files
authored
Merge pull request #49 from sc250024/fix-PreCommitHookReadmeTemplate
fix: Updating hook config for README.md.gotmpl
2 parents 2ddaac8 + f67f99d commit 3cfab7a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.pre-commit-hooks.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
args: []
33
description: Uses 'helm-docs' to create documentation from the Helm chart's 'values.yaml' file, and inserts the result into a corresponding 'README.md' file.
44
entry: git-hook/helm-docs
5-
files: (Chart|requirements|values)\.yaml$
5+
files: (README\.md\.gotmpl|(Chart|requirements|values)\.yaml)$
66
language: script
77
name: Helm Docs
88
require_serial: true

README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -270,5 +270,4 @@ pre-commit install
270270
pre-commit install-hooks
271271
```
272272

273-
Future changes to your charts requirements.yaml, values.yaml, or Chart.yaml files will cause an update to documentation when
274-
you commit.
273+
Future changes to your chart's `requirements.yaml`, `values.yaml`, `Chart.yaml`, or `README.md.gotmpl` files will cause an update to documentation when you commit.

0 commit comments

Comments
 (0)