Fix CITATION.cff and add automatic validation of your citation metadata (#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 <abel.s.siqueira@gmail.com>
This commit is contained in:
Faruk D 2022-04-13 19:03:52 +02:00 committed by GitHub
parent 9707181257
commit a00d24066a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 2 deletions

19
.github/workflows/cffconvert.yml vendored Normal file
View file

@ -0,0 +1,19 @@
name: cffconvert
on:
push:
paths:
- CITATION.cff
jobs:
validate:
name: "validate"
runs-on: ubuntu-latest
steps:
- name: Check out a copy of the repository
uses: actions/checkout@v2
- name: Check whether the citation metadata from CITATION.cff is valid
uses: citation-file-format/cffconvert-github-action@2.0.0
with:
args: "--validate"

View file

@ -5,11 +5,10 @@ message: "Please use this information to cite ONNX Runtime in
authors:
- affiliation: Microsoft Corporation
given-names: ONNX Runtime developers
title: "ONNX Runtime"
date-released: 2018-11-29
url: "https://onnxruntime.ai"
repository-code: "https://github.com/microsoft/onnxruntime"
license: "MIT License"
license: "MIT"
keywords:
- deep learning
- machine learning