From bfbe1eb57514b55dd927f2298d87e1954d2d3ba2 Mon Sep 17 00:00:00 2001 From: Abel Siqueira Date: Wed, 2 Feb 2022 11:15:34 -0300 Subject: [PATCH] Update cffconvert.yml --- .github/workflows/cffconvert.yml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/workflows/cffconvert.yml b/.github/workflows/cffconvert.yml index 0dba0b1c..707a71c4 100644 --- a/.github/workflows/cffconvert.yml +++ b/.github/workflows/cffconvert.yml @@ -1,15 +1,19 @@ name: cffconvert -on: push +on: + push: + paths: + - CITATION.cff jobs: - - cffconvert: - name: Verify citation metadata consistency + validate: + name: "validate" runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - name: Check out a copy of the repository + - name: Check out a copy of the repository + uses: actions/checkout@v2 - - uses: citation-file-format/cffconvert-github-action@main - name: Check whether the citation metadata from CITATION.cff is equivalent to that in .zenodo.json + - name: Check whether the citation metadata from CITATION.cff is valid + uses: citation-file-format/cffconvert-github-action@2.0.0 + with: + args: "--validate"