Skip to content

step-security/cffconvert-github-action

Repository files navigation

StepSecurity Maintained Action

cffconvert GitHub Action

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

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@v7

      - name: Check whether the citation metadata from CITATION.cff is valid
        uses: step-security/cffconvert-github-action@v2
        with:
          args: "--validate"

You can also look into advanced examples.

About

GitHub action to validate CITATION.cff files, and convert to other citation formats. Secure drop-in replacement for citation-file-format/cffconvert-github-action.

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors