Eric Ball | 3eda2b1 | 2024-09-13 12:52:59 -0700 | [diff] [blame^] | 1 | --- |
| 2 | ci: |
| 3 | autofix_commit_msg: "Chore: pre-commit autoupdate" |
| 4 | skip: |
| 5 | # pre-commit.ci does not have actionlint installed |
| 6 | - actionlint |
| 7 | |
| 8 | repos: |
| 9 | - repo: https://github.com/pre-commit/pre-commit-hooks |
| 10 | rev: 2c9f875913ee60ca25ce70243dc24d5b6415598c # frozen: v4.6.0 |
| 11 | hooks: |
| 12 | - id: trailing-whitespace |
| 13 | - id: check-added-large-files |
| 14 | - id: check-ast |
| 15 | - id: check-json |
| 16 | - id: check-merge-conflict |
| 17 | - id: check-xml |
| 18 | - id: check-yaml |
| 19 | - id: debug-statements |
| 20 | - id: end-of-file-fixer |
| 21 | - id: requirements-txt-fixer |
| 22 | - id: mixed-line-ending |
| 23 | args: ['--fix=lf'] |
| 24 | - id: no-commit-to-branch |
| 25 | args: |
| 26 | - --branch=dev |
| 27 | - --branch=master |
| 28 | - --branch=main |
| 29 | - --branch=rc |
| 30 | - --branch=production |
| 31 | |
| 32 | - repo: https://github.com/jorisroovers/gitlint |
| 33 | rev: acc9d9de6369b76d22cb4167029d2035e8730b98 # frozen: v0.19.1 |
| 34 | hooks: |
| 35 | - id: gitlint |
| 36 | |
| 37 | - repo: https://github.com/adrienverge/yamllint.git |
| 38 | rev: 81e9f98ffd059efe8aa9c1b1a42e5cce61b640c6 # frozen: v1.35.1 |
| 39 | hooks: |
| 40 | - id: yamllint |
| 41 | types: [yaml] |
| 42 | |
| 43 | - repo: https://github.com/rhysd/actionlint |
| 44 | rev: 62dc61a45fc95efe8c800af7a557ab0b9165d63b # frozen: v1.7.1 |
| 45 | hooks: |
| 46 | - id: actionlint |