Skip to content

Initial commit

Initial commit #1

Workflow file for this run

# SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
#
# SPDX-License-Identifier: MPL-2.0
name: Validate citation
on:
# run pipeline on push event of main branch, or when CITATIONS path has changed
push:
branches:
- main
paths:
- CITATION.cff
- .github/workflows/citations.yml
pull_request:
paths:
- CITATION.cff
- .github/workflows/citations.yml
# run pipeline from another workflow
workflow_call:
# run this workflow manually from the Actions tab
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-citations
cancel-in-progress: true
jobs:
validate-citations:
runs-on: ubuntu-24.04
steps:
- name: checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Install R
run: |
sudo apt-get update && sudo apt-get install -y r-base
- name: Validate CITATION.cff
uses: dieghernan/cff-validator@54c8e737314b948f25c0e5524a9d8ae3f39b207b # v5.0.1