Code owners
Assign users and groups as approvers for specific file changes. Learn more.
.pre-commit-config.yaml 651 B
---
default_stages: [ commit, manual ]
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: no-commit-to-branch
args: [ --branch, main ]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: fix-byte-order-marker
- repo: https://github.com/ansible-community/ansible-lint.git
rev: v6.22.0
hooks:
- name: Run ansible-lint
id: ansible-lint
- repo: https://github.com/jorisroovers/gitlint
rev: v0.19.1
hooks:
- name: Run gitlint
id: gitlint