Skip to content

Commit

Permalink
fix: Updating hook config for README.md.gotmpl
Browse files Browse the repository at this point in the history
The pre-commit hooks should be triggered when there is a change to the
underlying README.md.gotmpl file.

Signed-off-by: Scott Crooks <scott.crooks@gmail.com>
  • Loading branch information
sc250024 committed Jul 30, 2020
1 parent f66fdbd commit f67f99d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
args: []
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.
entry: git-hook/helm-docs
files: (Chart|requirements|values)\.yaml$
files: (README\.md\.gotmpl|(Chart|requirements|values)\.yaml)$
language: script
name: Helm Docs
require_serial: true
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -265,5 +265,4 @@ pre-commit install
pre-commit install-hooks
```

Future changes to your charts requirements.yaml, values.yaml, or Chart.yaml files will cause an update to documentation when
you commit.
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 comments on commit f67f99d

Please sign in to comment.