Skip to content

Add a GitHub Actions workflow for automatic validation of the citation metadata file (CITATION.CFF) #4

Add a GitHub Actions workflow for automatic validation of the citation metadata file (CITATION.CFF)

Add a GitHub Actions workflow for automatic validation of the citation metadata file (CITATION.CFF) #4

Workflow file for this run

name: cffconvert
on:
push:
branches:
- 'master'
- 'release-*'
paths:
- CITATION.cff
pull_request:
branches:
- 'master'
- 'release-*'
paths:
- CITATION.cff
permissions:
contents: read
jobs:
validate:
name: "validate"
runs-on: ubuntu-latest
steps:
- name: Check out a copy of the repository
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Check whether the citation metadata from CITATION.cff is valid
uses: citation-file-format/[email protected]
with:
args: "--validate"