From 46f38a240a7f7e26ee59e4050d660c638937ccdf Mon Sep 17 00:00:00 2001 From: shenxianpeng Date: Mon, 2 Feb 2026 19:36:09 +0200 Subject: [PATCH] fix: update hook ID to 'check-message' in configuration examples --- README.rst | 2 +- docs/configuration.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 161c5c21..c30f2134 100644 --- a/README.rst +++ b/README.rst @@ -108,7 +108,7 @@ For one-off checks or CI/CD pipelines, you can configure via CLI arguments or en - repo: https://github.com/commit-check/commit-check rev: v2.3.0 hooks: - - id: commit-check + - id: check-message args: - --subject-imperative=false - --subject-max-length=100 diff --git a/docs/configuration.rst b/docs/configuration.rst index beb55b06..8794497d 100644 --- a/docs/configuration.rst +++ b/docs/configuration.rst @@ -123,7 +123,7 @@ The primary use case for CLI arguments is configuring commit-check in ``.pre-com - repo: https://github.com/commit-check/commit-check rev: v2.3.0 hooks: - - id: commit-check + - id: check-message args: - --subject-imperative=false - --subject-max-length=100