From 837558c3434e06e2240aa49925c12d66d09d5e53 Mon Sep 17 00:00:00 2001 From: Matt Fisher Date: Thu, 7 Dec 2023 14:29:28 -0700 Subject: [PATCH] Add pre-commit hook to validate CITATION.cff --- .pre-commit-config.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a58408e8..891d4132 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,3 +22,9 @@ repos: hooks: - id: prettier types_or: [yaml] + - repo: https://github.com/citation-file-format/cffconvert + rev: "054bda51dbe278b3e86f27c890e3f3ac877d616c" + hooks: + - id: "validate-cff" + args: + - "--verbose"