Skip to content

Commit

Permalink
[MRG] migrate from .zenodo.json to CITATION.cff (#1037)
Browse files Browse the repository at this point in the history
* migrate from .zenodo.json to CITATION.cff

* fix citation.cff syntax
  • Loading branch information
sappelhoff committed Aug 4, 2022
1 parent 491ac8d commit 213c378
Show file tree
Hide file tree
Showing 5 changed files with 272 additions and 232 deletions.
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ If applicable:
- [ ] All CIs are happy
- [ ] PR title starts with [MRG]
- [ ] [whats_new.rst](https://github.com/mne-tools/mne-bids/blob/main/doc/whats_new.rst) is updated
- [ ] New contributors have been added to [.zenodo.json](https://github.com/mne-tools/mne-bids/blob/main/.zenodo.json)
- [ ] New contributors have been added to [CITATION.cff](https://github.com/mne-tools/mne-bids/blob/main/CITATION.cff)
- [ ] PR description includes phrase "closes <#issue-number>"
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@v3

- name: Check whether the citation metadata from CITATION.cff is valid
uses: citation-file-format/cffconvert-github-action@2.0.0
with:
args: "--validate"
230 changes: 0 additions & 230 deletions .zenodo.json

This file was deleted.

0 comments on commit 213c378

Please sign in to comment.