Compare commits

...

9 Commits

3 changed files with 53 additions and 0 deletions

6
.github/dependabot.yml vendored Normal file
View File

@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"

34
.github/workflows/cff-validator.yml vendored Normal file
View File

@ -0,0 +1,34 @@
on:
push:
paths:
- CITATION.cff
workflow_dispatch:
name: CITATION.cff
jobs:
Validate-CITATION-cff:
runs-on: ubuntu-latest
name: Validate CITATION.cff
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
RSPM: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"
steps:
- name: Checkout
uses: actions/checkout@v2
# This is needed for workflows running on
# ubuntu-20.04 or later
- name: Install V8
if: runner.os == 'Linux'
run: |
sudo apt-get install -y libv8-dev
- name: Validate CITATION.cff
uses: dieghernan/cff-validator@main
# Upload artifact
- uses: actions/upload-artifact@v2
if: failure()
with:
name: citation-cff-errors
path: citation_cff_errors.md

13
CITATION.cff Normal file
View File

@ -0,0 +1,13 @@
cff-version: 1.2.0
message: "If you use this, please cite it as below."
authors:
- family-names: "Suomalainen"
given-names: "Aminda"
title: "GitHub Community Health Files"
url: "https://github.com/Mikaela/.github"
preferred-citation:
type: generic
title: "GitHub Community Health Files"
authors:
- family-names: "Suomalainen"
given-names: "Aminda"