-
Notifications
You must be signed in to change notification settings - Fork 3
/
.pre-commit-config.yaml
65 lines (57 loc) · 1.96 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
---
repos:
- repo: https://github.com/camunda/infraex-common-config
rev: 1.2.7 # use tags until renovate supports sha: https://github.com/renovatebot/renovate/issues/22567
hooks:
- id: update-action-readmes-docker
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-yaml
- id: check-toml
- id: check-json
- id: check-symlinks
- id: check-shebang-scripts-are-executable
- id: detect-private-key
- repo: https://github.com/hadolint/hadolint
rev: v2.12.0
hooks:
- id: hadolint-docker
- repo: https://github.com/rhysd/actionlint
rev: v1.7.4
hooks:
- id: actionlint-docker
- repo: https://github.com/renovatebot/pre-commit-hooks
rev: 39.42.1
hooks:
- id: renovate-config-validator
args: [--strict]
# TODO : revert this when https://github.com/renovatebot/pre-commit-hooks/issues/2460 is fixed
language_version: 20.18.0
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v3.6.0
hooks:
- id: conventional-pre-commit
stages: [commit-msg]
args: [--strict, --force-scope]
- repo: local
hooks:
- id: update-readme-version
name: update-readme-version
language: script
always_run: true
pass_filenames: false # ensure that we don't run the command multiple times
entry: .pre-commit-hooks/update_readme_version.sh
types: [text]
stages: [commit, push, manual]
- repo: https://github.com/adrienverge/yamllint
rev: v1.35.1
hooks:
- id: yamllint
args: [-c, .yamllint.yaml]
- repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt
rev: 0.2.3
hooks:
- id: yamlfmt