Skip to content

GitHub action to validate CITATION.cff files, and convert to other citation formats.

License

Notifications You must be signed in to change notification settings

citation-file-format/cffconvert-github-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cffconvert GitHub Action

GitHub action to validate CITATION.cff files, and convert to other citation formats using dockerized version of cffconvert.

github repo badge github license badge github marketplace badge Research Software Directory DOI fair-software.eu testing citation metadata links fair software badge

Usage

  1. Save the snippet below as .github/workflows/cffconvert.yml to validate your CITATION.cff on each push.
  2. git add, commit and push to your GitHub repository
  3. Check the Actions tab on your repository's page to check the action's output
name: cffconvert

on:
  push:
    paths:
      - CITATION.cff

jobs:
  validate:
    name: "validate"
    runs-on: ubuntu-latest
    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"

You can also look into advanced examples.


Developed by Netherlands eScience Center.

esciencecenter.nl