From c0544422631db983d6c1d80d9f8dd64f68ea55ef Mon Sep 17 00:00:00 2001 From: Boris Glimcher <36732377+glimchb@users.noreply.github.com> Date: Wed, 20 Sep 2023 15:11:42 -0400 Subject: [PATCH] ci: add commitlint hook Signed-off-by: Boris Glimcher <36732377+glimchb@users.noreply.github.com> --- .pre-commit-config.yaml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 80917793..841a85d9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,8 +8,13 @@ repos: - id: end-of-file-fixer - id: check-yaml - id: check-added-large-files -repos: - - repo: https://github.com/renovatebot/pre-commit-hooks +- repo: https://github.com/renovatebot/pre-commit-hooks rev: 36.93.7 hooks: - - id: renovate-config-validator + - id: renovate-config-validator +- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook + rev: v8.0.0 + hooks: + - id: commitlint + stages: [commit-msg] + additional_dependencies: ['@commitlint/config-conventional']