Skip to content

Commit a00d240

Browse files
Fix CITATION.cff and add automatic validation of your citation metadata (microsoft#10478)
* Add cffconvert.yml to validate CITATION.cff * Fix CITATION.cff by removing duplicate title and correcting the license Co-authored-by: Abel Soares Siqueira <[email protected]>
1 parent 9707181 commit a00d240

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
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/[email protected]
18+
with:
19+
args: "--validate"

CITATION.cff

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@ message: "Please use this information to cite ONNX Runtime in
55
authors:
66
- affiliation: Microsoft Corporation
77
given-names: ONNX Runtime developers
8-
title: "ONNX Runtime"
98
date-released: 2018-11-29
109
url: "https://onnxruntime.ai"
1110
repository-code: "https://github.com/microsoft/onnxruntime"
12-
license: "MIT License"
11+
license: "MIT"
1312
keywords:
1413
- deep learning
1514
- machine learning

0 commit comments

Comments
 (0)