mirror of
https://github.com/Crocmagnon/ansible.git
synced 2024-12-22 05:52:00 +01:00
e0e091f657
updates: - [github.com/ansible/ansible-lint: v24.9.2 → v24.10.0](https://github.com/ansible/ansible-lint/compare/v24.9.2...v24.10.0) - [github.com/gitguardian/ggshield: v1.33.0 → v1.34.0](https://github.com/gitguardian/ggshield/compare/v1.33.0...v1.34.0)
48 lines
1.4 KiB
YAML
48 lines
1.4 KiB
YAML
---
|
|
ci:
|
|
autoupdate_schedule: monthly
|
|
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
|
|
- ggshield
|
|
- caddy-fmt
|
|
|
|
exclude: ^roles/borgbase.ansible_role_borgbackup/.*$
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v5.0.0
|
|
hooks:
|
|
- 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
|
|
- id: check-yaml
|
|
args: [--unsafe]
|
|
- id: detect-private-key
|
|
- id: end-of-file-fixer
|
|
- id: mixed-line-ending
|
|
- id: trailing-whitespace
|
|
- repo: https://github.com/ansible/ansible-lint
|
|
rev: v24.10.0
|
|
hooks:
|
|
- id: ansible-lint
|
|
entry: python3 -m ansiblelint -v --force-color --fix
|
|
additional_dependencies:
|
|
- ansible # necessary because we're using community collections
|
|
- repo: https://github.com/gitguardian/ggshield
|
|
rev: v1.34.0
|
|
hooks:
|
|
- id: ggshield
|
|
- repo: local
|
|
hooks:
|
|
- id: caddy-fmt
|
|
name: caddy fmt
|
|
language: system
|
|
entry: caddy fmt --overwrite
|
|
files: Caddyfile
|