diff --git a/.github/workflows/cffconvert.yml b/.github/workflows/cffconvert.yml new file mode 100644 index 0000000..bc39d6f --- /dev/null +++ b/.github/workflows/cffconvert.yml @@ -0,0 +1,20 @@ +name: cffconvert + +on: + push: + tags: + - '*' + - '**' + +jobs: + validate: + name: "validate CITATION.cff" + runs-on: ubuntu-latest + steps: + - name: Check out a copy of the repository + 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"