mirror of
https://github.com/Crocmagnon/ansible.git
synced 2024-11-24 00:08:02 +01:00
add caddy fmt pre-commit hook
This commit is contained in:
parent
045933d7d4
commit
624fb2492a
4 changed files with 10 additions and 1 deletions
|
@ -4,3 +4,4 @@ strict: true
|
|||
exclude_paths:
|
||||
- "**/*docker-compose.yaml"
|
||||
- .github/
|
||||
- .pre-commit-config.yaml
|
||||
|
|
|
@ -5,6 +5,7 @@ ci:
|
|||
# build of https://github.com/ansible/ansible-lint:ansible@v24.9.2 for python@python3 exceeds tier max size 250MiB: 405.6MiB
|
||||
- ansible-lint
|
||||
- ggshield
|
||||
- caddy-fmt
|
||||
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
|
@ -37,3 +38,10 @@ repos:
|
|||
rev: v1.32.1
|
||||
hooks:
|
||||
- id: ggshield
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: caddy-fmt
|
||||
name: caddy fmt
|
||||
language: system
|
||||
entry: caddy fmt --overwrite
|
||||
files: Caddyfile
|
||||
|
|
Loading…
Reference in a new issue