Skip to content

Commit 3ea7c7f

Browse files
committed
Add cffconvert.yml to validate CITATION.cff
1 parent 1777553 commit 3ea7c7f

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/cffconvert.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: cffconvert
2+
3+
on:
4+
push:
5+
branches:
6+
- 'master'
7+
- 'release-*'
8+
paths:
9+
- CITATION.cff
10+
pull_request:
11+
branches:
12+
- 'master'
13+
- 'release-*'
14+
paths:
15+
- CITATION.cff
16+
17+
permissions:
18+
contents: read
19+
20+
jobs:
21+
validate:
22+
name: "validate"
23+
runs-on: ubuntu-latest
24+
steps:
25+
- name: Check out a copy of the repository
26+
uses: actions/checkout@v2
27+
with:
28+
persist-credentials: false
29+
30+
- name: Check whether the citation metadata from CITATION.cff is valid
31+
uses: citation-file-format/[email protected]
32+
with:
33+
args: "--validate"

0 commit comments

Comments
 (0)