From a00d24066a3f7bd99ae2bec2dc6c1ebff522aa67 Mon Sep 17 00:00:00 2001 From: Faruk D <144492+fdiblen@users.noreply.github.com> Date: Wed, 13 Apr 2022 19:03:52 +0200 Subject: [PATCH] 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 --- .github/workflows/cffconvert.yml | 19 +++++++++++++++++++ CITATION.cff | 3 +-- 2 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/cffconvert.yml diff --git a/.github/workflows/cffconvert.yml b/.github/workflows/cffconvert.yml new file mode 100644 index 0000000000..707a71c4b2 --- /dev/null +++ b/.github/workflows/cffconvert.yml @@ -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" diff --git a/CITATION.cff b/CITATION.cff index 2a9c47093a..82bcac5a7b 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -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