chore: add pre-commit hooks chore: add pre-commit hooks chore: add pre-commit hooks chore: add pre-commit hooks
29 lines
821 B
YAML
29 lines
821 B
YAML
ci:
|
|
autofix_commit_msg: |
|
|
[pre-commit.ci] auto fixes from pre-commit.com hooks
|
|
autofix_prs: false # managed in the action step
|
|
autoupdate_branch: ""
|
|
autoupdate_commit_msg: "[pre-commit.ci] pre-commit autoupdate"
|
|
autoupdate_schedule: weekly
|
|
skip: []
|
|
submodules: false
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.4.0
|
|
hooks:
|
|
- id: check-yaml
|
|
- id: end-of-file-fixer
|
|
exclude: ^(README.md|CREATE_RELEASE.md)
|
|
- id: trailing-whitespace
|
|
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
|
|
rev: v9.5.0
|
|
hooks:
|
|
- id: commitlint
|
|
stages: [commit-msg]
|
|
- repo: https://github.com/ejba/pre-commit-maven
|
|
rev: v0.3.4
|
|
hooks:
|
|
- id: maven
|
|
args: [ 'clean compile' ]
|
|
- id: maven-spotless-apply
|