Skip to content

Commit

Permalink
Merge pull request #67 from cffbots/cffbots-cffconvert
Browse files Browse the repository at this point in the history
CITATION.cff fix and automatic validation of your citation metadata
  • Loading branch information
CunliangGeng committed Feb 4, 2022
2 parents 6142b31 + 14858c2 commit 3ca2fac
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .github/workflows/cffconvert.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
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@v2

- name: Check whether the citation metadata from CITATION.cff is valid
uses: citation-file-format/cffconvert-github-action@2.0.0
with:
args: "--validate"
2 changes: 1 addition & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ authors:
given-names: Cunliang
orcid: "https://orcid.org/0000-0002-1409-8358"

cff-version: "1.0.3"
cff-version: 1.2.0
date-released: 2020-09-15
doi: 10.5281/zenodo.1083951
license: Apache-2.0
Expand Down

0 comments on commit 3ca2fac

Please sign in to comment.