Skip to content

Commit

Permalink
Merge pull request norwoodj#49 from sc250024/fix-PreCommitHookReadmeT…
Browse files Browse the repository at this point in the history
…emplate

fix: Updating hook config for README.md.gotmpl
  • Loading branch information
norwoodj authored Aug 6, 2020
2 parents 2ddaac8 + f67f99d commit 3cfab7a
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 @@ -270,5 +270,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 3cfab7a

Please sign in to comment.