-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
71 lines (71 loc) · 2.19 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
---
fail_fast: false
repos:
- repo: local
hooks:
- id: mass-bundle-build
name: Build the bundle
entry: mass bundle build
language: system
pass_filenames: false
- id: valid-schema-params
name: Validate schema params
entry: mass schema validate -s https://json-schema.org/draft-07/schema -d ./schema-params.json
language: system
pass_filenames: false
- id: valid-schema-connections
name: Validate schema connections
entry: mass schema validate -s https://json-schema.org/draft-07/schema -d ./schema-connections.json
language: system
pass_filenames: false
- id: valid-schema-artifacts
name: Validate schema artifacts
entry: mass schema validate -s https://json-schema.org/draft-07/schema -d ./schema-artifacts.json
language: system
pass_filenames: false
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.74.1
hooks:
- id: terraform_fmt
- id: terraform_validate
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0
hooks:
- id: trailing-whitespace
- id: check-merge-conflict
- id: check-json
- id: check-yaml
- id: end-of-file-fixer
- id: detect-aws-credentials
args: [--allow-missing-credentials]
- id: no-commit-to-branch
args:
- "-b"
- main
- repo: https://github.com/jaketf/jsonschema2md
rev: v0.9.0
hooks:
- id: jsonschema2md
name: jsonschema2md params
args:
- "./schema-params.json"
- "./README.md"
- "--token=PARAMS"
- "--omit-top-level-metadata"
pass_filenames: false
- id: jsonschema2md
name: jsonschema2md connections
args:
- "./schema-connections.json"
- "./README.md"
- "--token=CONNECTIONS"
- "--omit-top-level-metadata"
pass_filenames: false
- id: jsonschema2md
name: jsonschema2md artifacts
args:
- "./schema-artifacts.json"
- "./README.md"
- "--token=ARTIFACTS"
- "--omit-top-level-metadata"
pass_filenames: false