check-bibliography-dois.yml
Validate that book and article BibTeX entries have DOIs that resolve and match CrossRef metadata.
Inputs
| Input | Type | Default | Description |
|---|---|---|---|
install-quarto |
boolean | false |
Install Quarto when setting up R dependencies. |
no-metadata-check |
boolean | false |
Skip the CrossRef metadata comparison. |
exclude-keys |
string | '' |
Space- or comma-separated BibTeX keys to skip. |
Permissions
Only contents: read (the default), so no permissions: block is needed.
Example
# Copy to .github/workflows/check-bibliography-dois.yml in your repo.
name: Check Bibliography DOIs
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
check:
uses: Morrison-Lab/gha/.github/workflows/check-bibliography-dois.yml@v2
# with:
# exclude-keys: vapnik1998 # BibTeX keys without DOIs to skip
# install-quarto: false
# no-metadata-check: falseSee examples/check-bibliography-dois.yml for the full caller stub.