diff --git a/.github/workflows/cffconvert.yml b/.github/workflows/cffconvert.yml new file mode 100644 index 0000000..60fd8f6 --- /dev/null +++ b/.github/workflows/cffconvert.yml @@ -0,0 +1,22 @@ +name: cffconvert + +on: + push: + paths: + - CITATION.cff + pull_request: + paths: + - CITATION.cff + +jobs: + validate: + name: "validate" + runs-on: ubuntu-latest + steps: + - name: Check out a copy of the repository + uses: actions/checkout@v4 + + - name: Check whether the citation metadata from CITATION.cff is valid + uses: citation-file-format/cffconvert-github-action@2.0.0 + with: + args: "--validate" \ No newline at end of file diff --git a/CITATION.cff b/CITATION.cff index 424b64a..0ce7cfd 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -2,14 +2,14 @@ --- # Metadata for citation of this software according to the CFF format (https://citation-file-format.github.io/) cff-version: 1.2.0 -title: 'MNE-HFO: Estimate HFOs with MNE in Python' +title: "MNE-HFO: Estimate HFOs with MNE in Python" authors: - - given-names: Adam - family-names: Li - affiliation: 'Department of Computer Science, Columbia University, New York, NY, USA' - orcid: 'https://orcid.org/0000-0001-8421-365X' + - given-names: Adam + family-names: Li + affiliation: "Department of Computer Science, Columbia University, New York, NY, USA" + orcid: "https://orcid.org/0000-0001-8421-365X" type: software -repository-code: 'https://github.com/mne-tools/mne-hfo' +repository-code: "https://github.com/mne-tools/mne-hfo" license: BSD-3-Clause keywords: - neuroscience @@ -25,4 +25,3 @@ keywords: message: >- Please cite this software using the metadata from 'preferred-citation' in the CITATION.cff file. - \ No newline at end of file