Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
piperswe committed Aug 20, 2021
0 parents commit 17b0648
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Validate CITATION.cff file
description: "Validate your repository's CITATION.cff file against the schema"
runs:
using: composite
steps:
- uses: actions/setup-python@v2
- run: pip install ruamel.yaml jsonschema
- run: mkdir .validate-cff
- run: wget https://raw.githubusercontent.com/citation-file-format/citation-file-format/main/{examples/validator.py,schema.json}
working-directory: ./.validate-cff
- run: python .validate-cff/validator.py -s .validate-cff/schema.json -d CITATION.cff

0 comments on commit 17b0648

Please sign in to comment.