Skip to content

Merge branch 'main' into ref_fire_diagnostic #483

Merge branch 'main' into ref_fire_diagnostic

Merge branch 'main' into ref_fire_diagnostic #483

# workflow that performs a validity check of CITATION.cff file
# authors: Abel S. Siqueira, Faruk Diblen, Jurriaan Spaaks GH: @abelsiqueira, @fdiblen, @jspaaks
name: CFF File Validator
on:
push:
paths:
- CITATION.cff
schedule:
- cron: '0 0 1 * *'
jobs:
validate:
name: "validate"
runs-on: ubuntu-latest
if: github.event_name != 'schedule' || github.repository == 'ESMValGroup/ESMValTool' # avoid scheduled GHAs in forks
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/[email protected]
with:
args: "--validate"