Unidata/MetPy

View on GitHub
.github/workflows/cffcheck.yml

Summary

Maintainability
Test Coverage
name: Check Citation Info

concurrency:
  group: ${{ github.workflow}}-${{ github.head_ref }}
  cancel-in-progress: true

on:
  push:
    paths:
      - CITATION.cff
  pull_request:
    paths:
      - CITATION.cff

jobs:
  validate:
    runs-on: ubuntu-latest
    steps:
      - name: Check out a copy of the repository
        uses: actions/checkout@v4

      - name: Check validity of CITATION.cff
        uses: citation-file-format/cffconvert-github-action@2.0.0
        with:
          args: "--validate"