From a2059178078f7cede44c58af0772e66a55a1d867 Mon Sep 17 00:00:00 2001 From: Francis Charette Migneault Date: Mon, 21 Oct 2024 13:07:52 -0400 Subject: [PATCH] add CFF check workflow --- .github/workflows/citation.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/citation.yaml diff --git a/.github/workflows/citation.yaml b/.github/workflows/citation.yaml new file mode 100644 index 0000000..aeed039 --- /dev/null +++ b/.github/workflows/citation.yaml @@ -0,0 +1,17 @@ +name: Check Citation Format +on: + push: + paths: + - CITATION.cff + pull_request: + paths: + - CITATION.cff +jobs: + check-citation: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Check whether the citation metadata from CITATION.cff is valid + uses: citation-file-format/cffconvert-github-action@2.0.0 + with: + args: "--validate"