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

steinarb pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/shiro.git


The following commit(s) were added to refs/heads/main by this push:
     new 59306daaf [CI] Add pre-commit hook to validate the CITATION file 
(#2717)
59306daaf is described below

commit 59306daaf2f297868a97649bc7e6657b83929269
Author: John Bampton <[email protected]>
AuthorDate: Tue Jun 2 03:02:43 2026 +1000

    [CI] Add pre-commit hook to validate the CITATION file (#2717)
---
 .pre-commit-config.yaml | 7 +++++++
 CITATION.cff            | 1 +
 2 files changed, 8 insertions(+)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 3b9ed73b8..b641215c0 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -168,3 +168,10 @@ repos:
         name: run editorconfig-checker
         description: a tool to verify that your files are in harmony with your 
.editorconfig
         alias: ec
+  - repo: https://github.com/python-jsonschema/check-jsonschema
+    rev: 0.37.2
+    hooks:
+      - id: check-citation-file-format
+        name: run check-citation-file-format
+        description: validate citation file format
+        files: ^CITATION\.cff$
diff --git a/CITATION.cff b/CITATION.cff
index 8a94a6ec9..4c3a8ead9 100644
--- a/CITATION.cff
+++ b/CITATION.cff
@@ -16,6 +16,7 @@
 # under the License.
 
 cff-version: 1.2.0
+message: If you use this software, please cite it as below.
 title: Apache Shiro
 type: software
 authors:

Reply via email to