Skip to content
check-square

GitHub Action

Validate CITATION.cff file

v1.0.0 Latest version

Validate CITATION.cff file

check-square

Validate CITATION.cff file

Validate your repository's CITATION.cff file against the schema

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Validate CITATION.cff file

uses: LutrisEng/[email protected]

Learn more about this action in LutrisEng/validate-cff

Choose a version

validate-cff

Example:

on:
  push:
    branches:
      - main
  pull_request:

jobs:
  validate_citation:
    name: Validate CITATION.cff
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - uses: LutrisEng/validate-cff@v1