-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
53 lines (53 loc) · 1.37 KB
/
.pre-commit-config.yaml
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
---
default_install_hook_types:
- pre-commit
- commit-msg
repos:
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.22.0
hooks:
- id: check-jsonschema
name: check-github-workflow-push-schema
files: "^\\.github/config/workflows/workflow-push.json$"
args:
- "--schemafile"
- ".github/config/schemas/workflows/workflow-push.json"
stages: [commit]
- repo: https://github.com/commitizen-tools/commitizen
rev: v3.2.2
hooks:
- id: commitizen
stages: [commit-msg]
- repo: https://github.com/cicd-tools-org/pre-commit.git
rev: 0.2.0
hooks:
- id: format-shell
args:
- "-w"
- "--indent=2"
- "-ci"
- "-sr"
- id: format-toml
- id: lint-github-workflow-header
- id: lint-github-workflow
- id: lint-markdown
args:
- "-c"
- ".markdownlint.yml"
- id: lint-shell
args:
- "--color=always"
- "--source-path=SCRIPTDIR"
- "--exclude=SC2317"
- "-x"
- id: security-credentials
- id: spelling-commit-message
- id: spelling-markdown
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.32.0
hooks:
- id: yamllint
args:
- "-c"
- "./.yamllint.yml"
stages: [commit]