Skip to content

Commit

Permalink
Add CITATION.cff (#319)
Browse files Browse the repository at this point in the history
  • Loading branch information
bjlittle authored Dec 4, 2023
1 parent e83b7be commit d1f1c8f
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 1 deletion.
33 changes: 33 additions & 0 deletions .github/workflows/ci-citation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: ci-citation

on:
pull_request:
paths:
- "CITATION.cff"

push:
paths:
- "CITATION.cff"

workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read

jobs:
validate:
name: "validate"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: "check CITATION.cff"
uses: citation-file-format/[email protected]
with:
args: "--validate"
12 changes: 12 additions & 0 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Worsley"
given-names: "Stephen"
orcid: "https://orcid.org/0009-0008-1704-8445"
title: "iris-esmf-regrid"
abstract: "A collection of structured and unstructured ESMF regridding schemes for Iris"
repository-code: "https://github.com/SciTools-incubator/iris-esmf-regrid"
license: "BSD-3-Clause"
license-url: "https://spdx.org/licenses/BSD-3-Clause.html"
type: "software"
3 changes: 2 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ exclude .gitignore
exclude .pre-commit-config.yaml
exclude .readthedocs.yml
include CHANGELOG.md
include CITATION.cff
prune benchmarks
exclude codecov.yml
prune docs
recursive-include esmf_regrid *.py *.txt
exclude noxfile.py
prune requirements
prune requirements
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

[![Build Status](https://api.cirrus-ci.com/github/SciTools-incubator/iris-esmf-regrid.svg)](https://cirrus-ci.com/github/SciTools-incubator/iris-esmf-regrid)
[![Documentation Status](https://readthedocs.org/projects/iris-esmf-regrid/badge/?version=latest)](https://iris-esmf-regrid.readthedocs.io/en/latest/?badge=latest)
[![ci-citation](https://github.com/SciTools-incubator/iris-esmf-regrid/actions/workflows/ci-citation.yml/badge.svg)](https://github.com/SciTools-incubator/iris-esmf-regrid/actions/workflows/ci-citation.yml)
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/SciTools-incubator/iris-esmf-regrid/main.svg)](https://results.pre-commit.ci/latest/github/SciTools-incubator/iris-esmf-regrid/master)
[![codecov](https://codecov.io/gh/SciTools-incubator/iris-esmf-regrid/branch/main/graph/badge.svg?token=PKBXEHOZFT)](https://codecov.io/gh/SciTools-incubator/iris-esmf-regrid)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
Expand Down

0 comments on commit d1f1c8f

Please sign in to comment.