repos: - repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook rev: v9.22.0 hooks: - id: commitlint stages: [commit-msg] additional_dependencies: ['@commitlint/config-conventional', 'commitlint-plugin-function-rules'] - repo: https://github.com/pre-commit/pre-commit-hooks rev: v5.0.0 hooks: - id: check-executables-have-shebangs - id: check-yaml - id: double-quote-string-fixer - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/adrienverge/yamllint rev: v1.37.0 hooks: - id: yamllint args: [-c=.github/configs/lintconf.yaml] - repo: local hooks: - id: run-helm-docs name: Execute helm-docs entry: make helm-docs language: system files: ^charts/ - id: run-helm-schema name: Execute helm-schema entry: make helm-schema language: system files: ^charts/ - id: run-helm-lint name: Execute helm-lint entry: make helm-lint language: system files: ^charts/ # Currently too slow smw # - id: golangci-lint # name: Execute golangci-lint # entry: make golint # language: system # files: \.go$ # - repo: https://github.com/tekwizely/pre-commit-golang # rev: v1.0.0-rc.1 # hooks: # - id: go-vet # - id: go-vet-mod # - id: go-vet-pkg # - id: go-vet-repo-mod # - id: go-vet-repo-pkg # - id: go-revive # - id: go-revive-mod # - id: go-revive-repo-mod # - id: go-sec-mod # - id: go-sec-pkg # - id: go-sec-repo-mod # - id: go-sec-repo-pkg