Skip to content

Commit

Permalink
CITATION.cff fix and automatic validation of your citation metadata (#96
Browse files Browse the repository at this point in the history
)

* Add cffconvert.yml to validate CITATION.cff

* Update CITATION.cff cffversion to 1.2.0

* Fix orcid url on CITATION.cff
  • Loading branch information
abelsiqueira committed Apr 19, 2023
1 parent ea8f1a0 commit 8e29f8b
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 6 deletions.
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"
12 changes: 6 additions & 6 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
---
title: "swan"
abstract: "Workflows and statistical models to predict numerical properties for nanomaterials"
authors:
authors:
-
family-names: Zapata
given-names: Felipe
orcid: "0000-0001-8286-677X"
orcid: "https://orcid.org/0000-0001-8286-677X"
-
family-names: Nicolas
given-names: Renaud
orcid: "0000-0001-9589-2694"
cff-version: "1.1.0"
keywords:
orcid: "https://orcid.org/0000-0001-9589-2694"
cff-version: 1.2.0
keywords:
- "quantum-chemistry"
- "materials-science"
- "machine-learning"
license: "Apache-2.0"
message: "If you use this software, please cite it using these metadata."
message: "If you use this software, please cite it using these metadata."

0 comments on commit 8e29f8b

Please sign in to comment.