Skip to content

Commit de1ce05

Browse files
authored
Create validate_cff.yml
1 parent 334f6a6 commit de1ce05

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/validate_cff.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: validate CITATION.cff
2+
3+
on:
4+
push:
5+
branches: ['*']
6+
paths:
7+
- 'CITATION.cff'
8+
pull_request:
9+
branches: ['*']
10+
paths:
11+
- 'CITATION.cff'
12+
13+
jobs:
14+
15+
validate_cff:
16+
17+
runs-on: ubuntu-latest
18+
19+
steps:
20+
21+
- uses: actions/checkout@v3
22+
23+
- name: Check whether the citation metadata from CITATION.cff is valid
24+
uses: citation-file-format/[email protected]
25+
with:
26+
args: "--validate"

0 commit comments

Comments
 (0)