Skip to content

Commit 5c45768

Browse files
authored
Merge pull request #771 from Remi-Gau/citation
[MNT] use github action to validate citation cff
2 parents ddcd7be + b3b1c11 commit 5c45768

File tree

3 files changed

+11
-17
lines changed

3 files changed

+11
-17
lines changed

.github/workflows/validate_cff.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,8 @@ jobs:
2121
steps:
2222

2323
- uses: actions/checkout@v3
24-
with:
25-
fetch-depth: 1
2624

27-
- name: Set up Python
28-
uses: actions/setup-python@v4
25+
- name: Check whether the citation metadata from CITATION.cff is valid
26+
uses: citation-file-format/[email protected]
2927
with:
30-
python-version: 3.9
31-
32-
- name: Install dependencies
33-
run: |
34-
python -m pip install --upgrade pip setuptools
35-
pip3 install cffconvert
36-
37-
- name: Validate CITATION.cff
38-
run: make validate_cff
28+
args: "--validate"

CITATION.cff

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cff-version: 1.2.0
22

3-
title: "BIDSpm"
3+
title: "bidspm"
44

55
version: 2.1.0dev
66

@@ -85,6 +85,10 @@ authors:
8585
orcid: "https://orcid.org/0000-0002-1066-6266"
8686
affiliation: "Université de Montréal"
8787

88+
- family-names: "Yang"
89+
given-names: "Ying"
90+
affiliation: "Université catholique de Louvain"
91+
8892
license: GPL-3.0
8993

9094
keywords:

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,11 +145,11 @@ info.
145145

146146
```bibtex
147147
@software{bidspm,
148-
author = {Gau, Rémi and Barilari, Marco and Battal, Ceren and Rezk, Mohamed and Collignon, Olivier and Gurtubay, Ane and Falagiarda, Federica and MacLean, Michèle and Cerpelloni, Filippo and Shahzad, Iqra and Nunes, Márcia},
148+
author = {Gau, Rémi and Barilari, Marco and Battal, Ceren and Rezk, Mohamed and Collignon, Olivier and Gurtubay, Ane and Falagiarda, Federica and MacLean, Michèle and Cerpelloni, Filippo and Shahzad, Iqra and Nunes, Márcia and Caron-Guyon, Jeanne and Chouinard-Leclaire, Christine and Yang, Ying},
149149
license = {GPL-3.0},
150150
title = {bidspm},
151-
url = {https://github.com/cpp-lln-lab/bidspm},
152-
version = {1.1.5dev},
151+
url = {https://github.com/cpp-lln-lab/bidspm},
152+
version = {2.1.0dev},
153153
doi = {10.5281/zenodo.3554331},
154154
publisher = {Zenodo},
155155
journal = {Software}

0 commit comments

Comments
 (0)