From 5534b7e5eadd6b06d94f1b7dbbecc348a5a8f19b Mon Sep 17 00:00:00 2001 From: Abel Siqueira Date: Wed, 2 Feb 2022 11:16:53 -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 7eb3b27..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@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"