38 lines
879 B
YAML
38 lines
879 B
YAML
name: Homelab Pipeline Pre-Commit
|
|
description: Ultra-fast quality gates for homelab configurations.
|
|
execution_params:
|
|
default_language_version: python3.13
|
|
|
|
repos:
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: v0.9.6
|
|
hooks:
|
|
- id: ruff
|
|
args: [--fix, --exit-non-zero-on-fix]
|
|
- id: ruff-format
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-shellcheck
|
|
rev: v0.10.0
|
|
hooks:
|
|
- id: shellcheck
|
|
|
|
- repo: https://github.com/hashicorp/terraform-fmt
|
|
rev: v1.7.0
|
|
hooks:
|
|
- id: terraform_fmt
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-terraform-validate
|
|
rev: v1.7.0
|
|
hooks:
|
|
- id: terraform_validate
|
|
|
|
- repo: https://github.com/ansible/ansible-lint
|
|
rev: v6.32.0
|
|
hooks:
|
|
- id: ansible-lint
|
|
|
|
- repo: https://github.com/gitleaks/gitleaks
|
|
rev: v8.18.1
|
|
hooks:
|
|
- id: gitleaks
|