Skip to content

Commit

Permalink
Create validate_cff.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mtorabi59 authored Jan 11, 2024
1 parent f24e38c commit b84f800
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/validate_cff.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: validate CITATION.cff

on:
push:
branches: ['*']
paths:
- CITATION.cff
- .github/workflows/validate_cff.yml
pull_request:
branches: ['*']
paths:
- CITATION.cff
- .github/workflows/validate_cff.yml

jobs:
validate_cff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check whether the citation metadata from CITATION.cff is valid
uses: citation-file-format/[email protected]
with:
args: --validate

0 comments on commit b84f800

Please sign in to comment.