forked from janus-idp/helm-backstage
-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
28 lines (28 loc) · 1.14 KB
/
.pre-commit-config.yaml
File metadata and controls
28 lines (28 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
repos:
- repo: https://github.com/norwoodj/helm-docs
rev: v1.2.0
hooks:
- id: helm-docs
files: (README\.md(\.gotmpl)?|(Chart|requirements|values)\.ya?ml)$
args:
# Make the tool search for charts only under the ``charts` directory
- --chart-search-root=charts
# The `./` makes it relative to the chart-search-root set above
- --template-files=./_templates.gotmpl
# A base filename makes it relative to each chart directory found
- --template-files=README.md.gotmpl
- repo: local
hooks:
- id: helm-dependency-update
name: helm-dependency-update
entry: helm dependency update charts/backstage/vendor/backstage/charts/backstage
language: unsupported
pass_filenames: false
files: charts/backstage/vendor/backstage/charts/backstage/Chart\.(ya?ml|lock)$
- id: jsonschema-dereference
name: jsonschema-dereference
entry: python .pre-commit/jsonschema-dereference.py
additional_dependencies: [jsonref, Jinja2, pyyaml]
language: python
pass_filenames: false
types_or: [yaml, json]