From 9c80228c07f5209241cdab5cfb6a63dd806ba834 Mon Sep 17 00:00:00 2001 From: Abel Soares Siqueira Date: Thu, 3 Feb 2022 14:03:36 +0100 Subject: [PATCH 1/2] 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 0000000..707a71c --- /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" From 14858c20e8f8a3b85c54678bb355ab9cd108b313 Mon Sep 17 00:00:00 2001 From: Abel Soares Siqueira Date: Thu, 3 Feb 2022 14:03:36 +0100 Subject: [PATCH 2/2] Update CITATION.cff cffversion to 1.2.0 --- CITATION.cff | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CITATION.cff b/CITATION.cff index 5dfa03f..1a83c95 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -23,7 +23,7 @@ authors: given-names: Cunliang orcid: "https://orcid.org/0000-0002-1409-8358" -cff-version: "1.0.3" +cff-version: 1.2.0 date-released: 2020-09-15 doi: 10.5281/zenodo.1083951 license: Apache-2.0