diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000000..0ee4f31990 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,17 @@ +repos: + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: 4.6.0 + hooks: + - id: check-yaml + - repo: https://github.com/ejba/pre-commit-maven + rev: v0.3.3 + hooks: + - id: maven-spotless-apply +ci: + autofix_commit_msg: | + [pre-commit.ci] auto fixes from pre-commit hooks + autofix_prs: true + autoupdate_commit_msg: '[pre-commit.ci] pre-commit autoupdate' + autoupdate_schedule: weekly + skip: [ ] + submodules: false \ No newline at end of file diff --git a/pom.xml b/pom.xml index 990556b610..6ae207cb15 100644 --- a/pom.xml +++ b/pom.xml @@ -203,24 +203,6 @@ - - - com.rudikershaw.gitbuildhook - git-build-hook-maven-plugin - 3.5.0 - - - .git-hooks/pre-commit - - - - - - install - - - -