--- default_stages: [ commit, manual ] repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.4.0 hooks: - id: no-commit-to-branch args: [ --branch, main ] - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.4.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.14.0a0 hooks: - name: Run ansible-lint id: ansible-lint - repo: https://github.com/jorisroovers/gitlint rev: v0.19.0dev hooks: - name: Run gitlint id: gitlint