-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
33 lines (33 loc) · 938 Bytes
/
.pre-commit-config.yaml
File metadata and controls
33 lines (33 loc) · 938 Bytes
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
29
30
31
32
33
---
repos:
- repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt
rev: 0.2.3 # or other specific tag
hooks:
- id: yamlfmt
files: .*.(yaml|yml)
exclude: (templates|.github)/
args: [--mapping, '2', --sequence, '2', --offset, '0', --preserve-quotes, --preserve_null]
- repo: local
hooks:
- entry: mise run bundle-schemas
id: schema-bundle
language: system
name: schema-bundle
pass_filenames: false
files: ^(charts/.*/values-base-schema\.schema\.json|schemas/jobs\.schema\.json|\.mise-tasks/bundle-schemas)$
stages: [pre-commit]
- entry: mise run test
id: helm-unittest
language: system
name: helm-unittest
pass_filenames: false
- entry: mise run lint
id: helm-lint
language: system
name: helm-lint
pass_filenames: false
- entry: mise run generate-docs
id: generate-docs
language: system
name: generate-docs
pass_filenames: false