From e90fe7db25cb28bdb8803089a5d68704b36a278c Mon Sep 17 00:00:00 2001 From: Abel Soares Siqueira Date: Mon, 7 Feb 2022 12:23:10 +0100 Subject: [PATCH] Add cffconvert.yml to validate CITATION.cff --- .github/workflows/cffconvert.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/cffconvert.yml diff --git a/.github/workflows/cffconvert.yml b/.github/workflows/cffconvert.yml new file mode 100644 index 00000000000..707a71c4b20 --- /dev/null +++ b/.github/workflows/cffconvert.yml @@ -0,0 +1,19 @@ +name: cffconvert + +on: + push: + paths: + - CITATION.cff + +jobs: + validate: + name: "validate" + runs-on: ubuntu-latest + steps: + - name: Check out a copy of the repository + uses: actions/checkout@v2 + + - name: Check whether the citation metadata from CITATION.cff is valid + uses: citation-file-format/cffconvert-github-action@2.0.0 + with: + args: "--validate"