Skip to content

Commit 1b20a6f

Browse files
committed
Add citation file validation action
1 parent a3ce6a0 commit 1b20a6f

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/cffconvert.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: cffconvert
2+
3+
on:
4+
push:
5+
paths:
6+
- CITATION.cff
7+
8+
jobs:
9+
validate:
10+
name: "validate"
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Check out a copy of the repository
14+
uses: actions/checkout@v2
15+
16+
- name: Check whether the citation metadata from CITATION.cff is valid
17+
uses: citation-file-format/cffconvert-github-action@2.0.0
18+
with:
19+
args: "--validate"

0 commit comments

Comments
 (0)