From ef2991ca647856d39e8c65e39f8d8229e46013e0 Mon Sep 17 00:00:00 2001 From: Abel Siqueira Date: Wed, 2 Feb 2022 11:10:03 -0300 Subject: [PATCH] Update cffconvert.yml --- .github/workflows/cffconvert.yml | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/.github/workflows/cffconvert.yml b/.github/workflows/cffconvert.yml index 2748211..707a71c 100644 --- a/.github/workflows/cffconvert.yml +++ b/.github/workflows/cffconvert.yml @@ -1,14 +1,19 @@ name: cffconvert -on: push +on: + push: + paths: + - CITATION.cff jobs: - verify: - name: "cffconvert" + 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@master - 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"