-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
42 lines (36 loc) · 1.18 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
repos:
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
rev: v9.18.0
hooks:
- id: commitlint
stages: [ commit-msg ]
args: [ '--config', '.configs/commitlint.config.mjs' ]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: no-commit-to-branch
stages: [ prepare-commit-msg, merge-commit, push ]
always_run: false
args: [ --branch, main, --branch, master ]
- repo: https://github.com/mpalmer/action-validator
rev: v0.6.0
hooks:
- id: action-validator
stages: [ commit-msg ]
- repo: https://github.com/Payadel/pre-commit-hooks
rev: v1.0.0
hooks:
- id: document-oriented
args: [ '--doc=*.md', '--source=src/*' ]
- id: run-scripts
args: [ '-f=scripts/dotnet-coverage.sh', '--line', '50', '--src', 'src' ]
stages: [ push ]
pass_filenames: false
- id: run-scripts
args: [ '-f=scripts/dotnet-check.sh', 'src' ]
stages: [ push ]
pass_filenames: false
- id: run-scripts
args: [ '-f=scripts/commit-validation.sh' ]
stages: [ commit-msg ]
pass_filenames: false