--- repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.5.0 hooks: - id: requirements-txt-fixer - id: sort-simple-yaml - id: detect-private-key - id: check-merge-conflict - id: end-of-file-fixer - id: mixed-line-ending - id: trailing-whitespace args: [--markdown-linebreak-ext=md] - repo: https://github.com/adrienverge/yamllint.git rev: v1.33.0 hooks: - id: yamllint args: [-c=.yamllint] - repo: https://github.com/ansible-community/ansible-lint.git rev: v6.22.2 hooks: - id: ansible-lint additional_dependencies: [ansible-core==2.18.0] language_version: python3.12 args: [--offline] - repo: https://github.com/shellcheck-py/shellcheck-py rev: v0.9.0.6 hooks: - id: shellcheck - repo: https://github.com/Lucas-C/pre-commit-hooks rev: v1.5.4 hooks: - id: remove-crlf - id: remove-tabs - repo: https://github.com/sirosen/texthooks rev: 0.6.4 hooks: - id: fix-smartquotes - repo: local hooks: - id: cleanup-runner-resources-test name: cleanup runner resources test entry: .github/scripts/test-cleanup-runner-resources.sh language: system pass_filenames: false files: ^\.github/scripts/(cleanup-runner-resources|test-cleanup-runner-resources)\.sh$ - id: download-vagrant-boxes-test name: Vagrant box download test entry: .github/test-download-boxes.sh language: system pass_filenames: false files: ^\.github/(download-boxes|test-download-boxes)\.sh$|^\.github/vagrant-boxes\.lock$