Skip to content

Commit

Permalink
Add cffconvert workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Li <[email protected]>
  • Loading branch information
adam2392 committed Sep 21, 2023
1 parent 61112c1 commit 2f088c6
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 7 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/cffconvert.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
with:
args: "--validate"
13 changes: 6 additions & 7 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -25,4 +25,3 @@ keywords:
message: >-
Please cite this software using the metadata from
'preferred-citation' in the CITATION.cff file.

0 comments on commit 2f088c6

Please sign in to comment.