-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.pre-commit-hooks.yaml
More file actions
53 lines (45 loc) · 1.49 KB
/
.pre-commit-hooks.yaml
File metadata and controls
53 lines (45 loc) · 1.49 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
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
# Pre-commit Hook Manifest
# This file defines hooks that this repository PROVIDES to other repos.
# Service repos reference these via: repo: https://github.com/NHSDigital/nhs-notify-shared-modules
#
# This is NOT the pre-commit config for this repo (that's in scripts/config/pre-commit.yaml)
- id: sort-dictionary
name: Sort dictionary
entry: scripts/githooks/sort-dictionary.sh
language: script
pass_filenames: false
- id: scan-secrets
name: Scan secrets
entry: .github/actions/scan-secrets/scan-secrets.sh
language: script
pass_filenames: false
- id: check-file-format
name: Check file format
entry: .github/actions/check-file-format/check-file-format.sh
language: script
pass_filenames: false
- id: check-markdown-format
name: Check Markdown format
entry: .github/actions/check-markdown-format/check-markdown-format.sh
language: script
pass_filenames: false
- id: check-english-usage
name: Check English usage
entry: .github/actions/check-english-usage/check-english-usage.sh
language: script
pass_filenames: false
- id: lint-terraform
name: Lint Terraform
entry: .github/actions/lint-terraform/check-terraform-format.sh
language: script
pass_filenames: false
- id: generate-terraform-docs
name: Generate Terraform Docs
entry: scripts/githooks/check-terraform-docs.sh
language: script
pass_filenames: false
- id: check-todo-usage
name: Check TODO usage
entry: .github/actions/check-todo-usage/check-todos.sh
language: script
pass_filenames: false