diff --git a/.github/workflows/cffconvert.yml b/.github/workflows/cffconvert.yml new file mode 100644 index 0000000000000..398b888004f37 --- /dev/null +++ b/.github/workflows/cffconvert.yml @@ -0,0 +1,33 @@ +name: cffconvert + +on: + push: + branches: + - 'master' + - 'release-*' + paths: + - CITATION.cff + pull_request: + branches: + - 'master' + - 'release-*' + paths: + - CITATION.cff + +permissions: + contents: read + +jobs: + validate: + name: "validate" + runs-on: ubuntu-latest + steps: + - name: Check out a copy of the repository + uses: actions/checkout@v2 + with: + persist-credentials: false + + - 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 a25d61b69d849..6285aa13d3571 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -9,7 +9,7 @@ authors: given-names: "Stefan" - family-names: "Shah" given-names: "Viral B." -title: "Julia: A fresh approach to numerical computing" +titel: "Julia: A fresh approach to numerical computing" version: "v1" license: "MIT" doi: "10.1137/141000671" @@ -37,4 +37,4 @@ preferred-citation: issue: 1 year: 2017 publisher: - - name: "SIAM" + name: "SIAM"