From 60b5253033b630abd9d9c941a00b5700b47822ea Mon Sep 17 00:00:00 2001 From: Jim Madge Date: Thu, 25 Aug 2022 12:10:04 +0100 Subject: [PATCH] Add workflow to validate CITATION.cff --- .github/workflows/citation.yaml | 18 ++++++++++++++++++ 1 file changed, 18 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 0000000000..c3e0edec18 --- /dev/null +++ b/.github/workflows/citation.yaml @@ -0,0 +1,18 @@ +name: cffconvert + +on: + push: + paths: + - CITATION.cff + +jobs: + validate: + name: "validate" + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Validate CITATION.cff + uses: citation-file-format/cffconvert-github-action@2.0.0 + with: + args: "--validate"