diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3b9ed73b81..b641215c0b 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 8a94a6ec9e..4c3a8ead95 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: