Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.7%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

Basic Info
  • Host: GitHub
  • Owner: actions-marketplace-validations
  • License: apache-2.0
  • Default Branch: main
  • Size: 144 KB
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created about 3 years ago · Last pushed about 3 years ago
Metadata Files
Readme License Citation

README.advanced.md

Advanced examples

You can pass any arguments in the args: key that you would to the cffconvert CLI tool. This allows for some interesting usage.

The list of options is right below, and you can see some examples in the next sections. Options: -i, --infile PATH Path to the CITATION.cff input file. If this option is omitted, './CITATION.cff' is used. -o, --outfile PATH Path to the output file. -f, --format [apalike|bibtex|cff|codemeta|endnote|ris|schema.org|zenodo] Output format. -u, --url TEXT URL to the CITATION.cff input file. -h, --help Show help and exit. --show-trace Show error trace. --validate Validate the CITATION.cff file and exit. --version Print version and exit.

Validating from a subdirectory

```yaml 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: Validate a CITATION.cff from a subdirectory
    uses: citation-file-format/cffconvert-github-action@2.0.0
    with:
      args: "--infile ./tests/subdirectory/CITATION.cff --validate"

```

Converting CITATION.cff to Zenodo metadata format and pushing to the repo

```yaml name: cffconvert

on: push: paths: - CITATION.cff

jobs: convert: name: "convert" runs-on: ubuntu-latest steps: - name: Check out a copy of the repository uses: actions/checkout@v2

  - name: Convert CITATION.cff to Zenodo metadata format
    uses: citation-file-format/cffconvert-github-action@2.0.0
    with:
      args: "--infile ./CITATION.cff --format zenodo --outfile .zenodo.json"

  - name: Commit and push Zenodo metadata
    run: |
      git config --global user.name 'cffconvert GitHub Action'
      git config --global user.email 'cffconvert@users.noreply.github.com'
      git add .zenodo.json
      git commit -m "Automated update of Zenodo metadata"
      git push

```

Converting CITATION.cff to Zenodo metadata format and opening a pull request

```yaml name: cffconvert

on: push: paths: - CITATION.cff

jobs: convert: name: "convert" runs-on: ubuntu-latest steps: - name: Check out a copy of the repository uses: actions/checkout@v2

  - name: Convert CITATION.cff to Zenodo metadata format
    uses: citation-file-format/cffconvert-github-action@2.0.0
    with:
      args: "--infile ./CITATION.cff --format zenodo --outfile .zenodo.json"

  - name: Commit and create a Pull Request with the Zenodo file
    uses: peter-evans/create-pull-request@v3
    with:
      commit-message: ":robot: Update .zenodo.json"
      committer: "cffconvert GitHub Action <cffconvert@users.noreply.github.com>"
      title: "[auto] Update .zenodo.json"

```

Owner

  • Name: actions-marketplace-validations
  • Login: actions-marketplace-validations
  • Kind: organization

Temporarily holds mirrors of GitHub Actions from the marketplace

Citation (CITATION.cff)

# YAML 1.2
---
authors:
  -
    family-names: Spaaks
    given-names: "Jurriaan H."
    orcid: "https://orcid.org/0000-0002-7064-4069"
  -
    family-names: Diblen
    given-names: Faruk
    orcid: "https://orcid.org/0000-0002-0989-929X"
  -
    family-names: "Soares Siqueira"
    given-names: Abel
    orcid: "https://orcid.org/0000-0003-4451-281X"
cff-version: "1.2.0"
date-released: 2022-01-24
identifiers:
  - type: doi
    value: 10.5281/zenodo.3993241
    description: "The work's conceptdoi"
license: "Apache-2.0"
message: "If you use this software, please cite it using these metadata."
title: "cffconvert GitHub Action"
version: 2.0.0
...

GitHub Events

Total
Last Year