mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-13 19:50:34 +00:00
32 lines
778 B
YAML
32 lines
778 B
YAML
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
# SPDX-FileCopyrightText: 2022 Carles Fernandez-Prades <carles.fernandez@cttc.es>
|
|
on:
|
|
push:
|
|
paths:
|
|
- CITATION.cff
|
|
pull_request:
|
|
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 }}
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
- name: Validate CITATION.cff
|
|
uses: dieghernan/cff-validator@main
|
|
# Upload artifact in case of failure
|
|
- name: Update artifact
|
|
uses: actions/upload-artifact@v3
|
|
if: failure()
|
|
with:
|
|
name: citation-cff-errors
|
|
path: citation_cff_errors.md
|