Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add in validation of CITATION.cff file (if it exists) #42

Open
CodeGat opened this issue Aug 6, 2024 · 0 comments
Open

Add in validation of CITATION.cff file (if it exists) #42

CodeGat opened this issue Aug 6, 2024 · 0 comments
Assignees
Labels

Comments

@CodeGat
Copy link
Collaborator

CodeGat commented Aug 6, 2024

See ACCESS-NRI/access-esm1.5-configs#41 (comment)

Not all *-configs-style repositories have this yet, but it seems like a good thing to add to the overall model-config-tests infrastructure.

Make it a set of steps like:

 - uses: actions/checkout@v4

 - name: Check for CITATION.cff
   id: citation-file
   run: |
     if [ -f "CITATION.cff" ]; then
       echo "exists=true" >> $GITHUB_OUTPUT
     fi
 - name: Validate CITATION.cff
   if: steps.citation-file.outputs.exist
   uses: citation-file-format/[email protected]
   with:
     args: "--validate"
@CodeGat CodeGat added priority:low type:enhancement type:infra Dealing with CI/CD Pipelines labels Aug 6, 2024
@CodeGat CodeGat self-assigned this Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant