Skip to content

Commit 07c2c5d

Browse files
committed
Added validation
1 parent 13f5cd5 commit 07c2c5d

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/citation.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Citation File Validation
2+
3+
on:
4+
push:
5+
branches: [ "main", "dev", "hotfix/update-ci" ]
6+
pull_request:
7+
branches: [ "main", "dev", "hotfix/update-ci" ]
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
timeout-minutes: 20
16+
steps:
17+
- uses: actions/checkout@v3
18+
- name: Set up Python
19+
uses: actions/setup-python@v3
20+
- name: Install Checker
21+
run: python3 -m pip install cffconvert
22+
- name: Check Citation File
23+
run: cffconvert --validate

0 commit comments

Comments
 (0)