diff --git a/.gitlint b/.gitlint index 7cf8a703cf..e7218ac53a 100644 --- a/.gitlint +++ b/.gitlint @@ -4,7 +4,7 @@ regex-style-search=True contrib=CC1 [title-match-regex] -regex=^\[\#[0-9X]+\]\s +regex=^\[\#[0-9Xx]+\]\s [ignore-by-title] regex=^Release(.*) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b79cc1e7a6..169b7bf1cc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -34,3 +34,12 @@ repos: rev: v1.51.2 hooks: - id: golangci-lint + + - repo: local + hooks: + - id: go-unit-tests + name: go unit tests + entry: make test + pass_filenames: false + types: [go] + language: system