add framework #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]> | |
# | |
# 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 | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
validate-citations: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: Validate CITATION.cff | |
uses: dieghernan/cff-validator@v3 |