forked from commit-check/commit-check
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-hooks.yaml
More file actions
29 lines (29 loc) · 823 Bytes
/
.pre-commit-hooks.yaml
File metadata and controls
29 lines (29 loc) · 823 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
- id: check-message
name: check commit message
description: requiring commit message to match regex
entry: env IS_PRE_COMMIT=1 commit-check
args: [--message]
pass_filenames: false
language: python
stages: [commit-msg, commit]
- id: check-branch
name: check branch naming
description: requiring branch naming to match regex
entry: commit-check
args: [--branch]
pass_filenames: false
language: python
- id: check-author-name
name: check committer name
description: requiring committer name to match regex
entry: commit-check
args: [--author-name]
pass_filenames: false
language: python
- id: check-author-email
name: check committer email
description: requiring committer email to match regex
entry: commit-check
args: [--author-email]
pass_filenames: false
language: python