This is an automated email from the ASF dual-hosted git repository.

xiaokang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-graphar.git


The following commit(s) were added to refs/heads/main by this push:
     new 47a70516 chore: add the script to check commit message format (#854)
47a70516 is described below

commit 47a70516345b10931b27cb1cbdf6d382d488aebf
Author: 姚军 <[email protected]>
AuthorDate: Sat Feb 14 10:29:53 2026 +0800

    chore: add the script to check commit message format (#854)
---
 .pre-commit-config.yaml | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 1e2e3625..d35fbce4 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -43,7 +43,17 @@ repos:
       types_or: [c++]
       args: [--style=file, --verbose]
       exclude: ^cpp/thirdparty/
-      
+
+  - repo: https://github.com/compilerla/conventional-pre-commit
+    rev: v3.0.0
+    hooks:
+      - id: conventional-pre-commit
+        stages: [ commit-msg ]
+        args: [
+          --types,feat,fix,docs,style,refactor,test,chore,perf,ci,build,revert,
+          --scope-optional
+        ]
+
   - repo: local
     hooks:
       - id: spotless-java-info


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to