2024-10-10 23:30:37 +02:00
|
|
|
---
|
|
|
|
ci:
|
|
|
|
autoupdate_schedule: monthly
|
2024-10-10 23:46:17 +02:00
|
|
|
skip:
|
|
|
|
# build of https://github.com/ansible/ansible-lint:ansible@v24.9.2 for python@python3 exceeds tier max size 250MiB: 405.6MiB
|
|
|
|
- ansible-lint
|
2024-10-11 01:49:32 +02:00
|
|
|
- ggshield
|
2024-10-11 16:51:42 +02:00
|
|
|
- caddy-fmt
|
2024-10-10 23:30:37 +02:00
|
|
|
|
2024-10-13 19:14:54 +02:00
|
|
|
exclude: ^roles/borgbase.ansible_role_borgbackup/.*$
|
2024-10-10 22:50:45 +02:00
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2024-10-10 23:36:54 +02:00
|
|
|
rev: v5.0.0
|
2024-10-10 22:50:45 +02:00
|
|
|
hooks:
|
2024-10-10 23:36:54 +02:00
|
|
|
- id: check-added-large-files
|
|
|
|
- id: check-case-conflict
|
|
|
|
- id: check-executables-have-shebangs
|
|
|
|
- id: check-illegal-windows-names
|
|
|
|
- id: check-json
|
|
|
|
- id: check-merge-conflict
|
|
|
|
- id: check-shebang-scripts-are-executable
|
|
|
|
- id: check-symlinks
|
|
|
|
- id: check-toml
|
|
|
|
- id: check-vcs-permalinks
|
2024-10-10 22:50:45 +02:00
|
|
|
- id: check-yaml
|
|
|
|
args: [--unsafe]
|
2024-10-10 23:36:54 +02:00
|
|
|
- id: detect-private-key
|
2024-10-10 22:50:45 +02:00
|
|
|
- id: end-of-file-fixer
|
2024-10-10 23:36:54 +02:00
|
|
|
- id: mixed-line-ending
|
2024-10-10 22:50:45 +02:00
|
|
|
- id: trailing-whitespace
|
2024-10-10 23:30:37 +02:00
|
|
|
- repo: https://github.com/ansible/ansible-lint
|
|
|
|
rev: v24.9.2
|
|
|
|
hooks:
|
|
|
|
- id: ansible-lint
|
|
|
|
entry: python3 -m ansiblelint -v --force-color --fix
|
|
|
|
additional_dependencies:
|
2024-10-10 23:46:17 +02:00
|
|
|
- ansible # necessary because we're using community collections
|
2024-10-11 01:49:32 +02:00
|
|
|
- repo: https://github.com/gitguardian/ggshield
|
2024-11-05 00:50:33 +01:00
|
|
|
rev: v1.33.0
|
2024-10-11 01:49:32 +02:00
|
|
|
hooks:
|
|
|
|
- id: ggshield
|
2024-10-11 16:51:42 +02:00
|
|
|
- repo: local
|
|
|
|
hooks:
|
|
|
|
- id: caddy-fmt
|
|
|
|
name: caddy fmt
|
|
|
|
language: system
|
|
|
|
entry: caddy fmt --overwrite
|
|
|
|
files: Caddyfile
|