Update github workflow and Authors #16
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: 2024 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH, Darmstadt, Germany | |
# | |
# SPDX-License-Identifier: LGPL-3.0-or-later | |
name: Check AUTHORS and CONTRIBUTORS in metadata | |
on: | |
push: | |
paths: | |
- AUTHORS | |
- CONTRIBUTORS | |
- codemeta.json | |
- .zenodo.json | |
pull_request: | |
paths: | |
- AUTHORS | |
- CONTRIBUTORS | |
- codemeta.json | |
- .zenodo.json | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Try updating metadata | |
run: python meta_update.py | |
- name: Check for Updates | |
run: git diff --exit-code || echo "Metadata files require updates. Please commit the changes." |