-
Notifications
You must be signed in to change notification settings - Fork 5
/
.pre-commit-config.yaml
40 lines (40 loc) · 1.26 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: check-yaml
args: [--allow-multiple-documents]
exclude: '.updatecli/templates'
- id: check-json
- id: check-xml
- id: check-merge-conflict
- id: fix-byte-order-marker
- id: mixed-line-ending
args: ['--fix=lf']
exclude: .github/actions/send-slack-notification/tests/sample-commit-message.txt
- id: end-of-file-fixer
exclude: '.github/actions/dispatch-resume-workflow/dist/*'
- id: trailing-whitespace
exclude: .github/actions/dispatch-resume-workflow/dist/*
- repo: https://github.com/sirosen/check-jsonschema
rev: 0.28.5
hooks:
- id: check-dependabot
- id: check-github-actions
- id: check-github-workflows
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.41.0
hooks:
- id: markdownlint
- repo: local
hooks:
- id: generate-dependabot
name: Generate dependabot config for actions
language: system
entry: ./update-dependabot.sh
pass_filenames: false
- id: check-readme
name: Check README entries
language: system
entry: ./check_readme.sh
pass_filenames: false