3
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2026-03-25 22:17:25 +00:00

Add prek-based pre-commit workflow

This commit is contained in:
Slavi Pantaleev
2026-03-22 16:44:04 +02:00
parent b3a0f52824
commit 312cfe9b41
5 changed files with 66 additions and 5 deletions

View File

@@ -1,7 +1,6 @@
---
default_install_hook_types: [pre-push]
exclude: "LICENSES/"
exclude: "^(LICENSES/|var/)"
# See: https://pre-commit.com/hooks.html
repos:
@@ -24,3 +23,10 @@ repos:
rev: v6.2.0
hooks:
- id: reuse
- repo: https://github.com/ansible/ansible-lint
rev: v26.3.0
hooks:
- id: ansible-lint
files: '^roles/custom/'
args: ['roles/custom']
pass_filenames: false