Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/on-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ permissions:
jobs:
update-citations:
uses: ./.github/workflows/update-citations.yaml
secrets:
GOOGLE_SCHOLAR_API_KEY: ${{ secrets.GOOGLE_SCHOLAR_API_KEY }}

build-preview:
needs: update-citations
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/update-citations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
inputs:
open-pr:
type: boolean
secrets:
GOOGLE_SCHOLAR_API_KEY:
required: true
Copy link

Copilot AI Nov 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The update-citations workflow now requires a GOOGLE_SCHOLAR_API_KEY secret (lines 10-12), but the workflows that call it (on-pull-request.yaml, on-push.yaml, and on-schedule.yaml) don't pass this secret. This will cause those workflows to fail.

To fix this, the calling workflows need to pass the secret using the secrets parameter. For example:

update-citations:
  uses: ./.github/workflows/update-citations.yaml
  secrets:
    GOOGLE_SCHOLAR_API_KEY: ${{ secrets.GOOGLE_SCHOLAR_API_KEY }}

Alternatively, if you want the secret to be optional when called from workflow_dispatch, you could set required: false on line 12.

Suggested change
required: true
required: false

Copilot uses AI. Check for mistakes.
outputs:
changed:
value: ${{ jobs.update-citations.outputs.changed }}
Expand Down
Binary file modified _cite/.cache/cache.db
Binary file not shown.
2 changes: 1 addition & 1 deletion _cite/cite.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
sources = []

# in-order list of plugins to run
plugins = ["google-scholar", "pubmed", "orcid", "arxiv", "sources"]
plugins = ["google-scholar", "pubmed", "orcid", "sources"]

# loop through plugins
for plugin in plugins:
Expand Down
59 changes: 0 additions & 59 deletions _cite/plugins/arxiv.py

This file was deleted.

46 changes: 44 additions & 2 deletions _data/citations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
publisher: Chaos, Solitons & Fractals
date: '2025-12-01'
link: https://doi.org/g9749f
orcid: 0000-0002-9633-0017
orcid: 0000-0002-0005-0441
plugin: orcid.py
file: orcid.yaml
- id: doi:10.1103/PhysRevAccelBeams.28.014001
Expand Down Expand Up @@ -81,7 +81,7 @@
publisher: 'Journal of Statistical Mechanics: Theory and Experiment'
date: '2022-02-01'
link: https://doi.org/g89wjq
orcid: 0000-0002-9633-0017
orcid: 0000-0002-0005-0441
plugin: sources.py
file: sources.yaml
type: paper
Expand Down Expand Up @@ -1265,3 +1265,45 @@
orcid: 0000-0003-0316-3449
plugin: orcid.py
file: orcid.yaml
- id: doi:10.1101/2025.03.27.25324700
title: Human mobility and sewage data correlate with COVID-19 epidemic evolution
in the metropolitan area of Bologna
authors:
- Francesco Durazzi
- Enrico Lunedei
- Giulio Colombini
- Giulia Gatti
- Vittorio Sambri
- Alessandra de Cesare
- Cecilia Crippa
- "Fr\xE9d\xE9rique Pasquali"
- Gastone Castellani
- Daniel Remondini
- Armando Bazzani
publisher: Cold Spring Harbor Laboratory
date: '2025-03-28'
link: https://doi.org/hbbn9g
orcid: 0000-0002-0005-0441
plugin: orcid.py
file: orcid.yaml
- id: doi:10.1186/s12879-025-11520-2
title: Human mobility and sewage data correlate with COVID-19 epidemic evolution
in a 3-year surveillance of the metropolitan area of Bologna
authors:
- Francesco Durazzi
- Enrico Lunedei
- Giulio Colombini
- Giulia Gatti
- Vittorio Sambri
- Alessandra De Cesare
- Cecilia Crippa
- "Fr\xE9d\xE9rique Pasquali"
- Gastone Castellani
- Daniel Remondini
- Armando Bazzani
publisher: BMC Infectious Diseases
date: '2025-10-31'
link: https://doi.org/hbbn9h
orcid: 0000-0002-0005-0441
plugin: orcid.py
file: orcid.yaml
10 changes: 10 additions & 0 deletions _data/google-scholar.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Google Scholar author IDs
# To find a researcher's Google Scholar ID:
# 1. Go to https://scholar.google.com
# 2. Search for the researcher
# 3. Click on their profile
# 4. The URL will look like: https://scholar.google.com/citations?user=XXXXXXXXX
# 5. Use XXXXXXXXX as the gsid below

- gsid: flhs-gwAAAAJ # Mirko Degli Esposti
- gsid: Z6lHULUAAAAJ # Gregorio Berselli
6 changes: 4 additions & 2 deletions _data/orcid.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
- orcid: 0000-0002-9633-0017
- orcid: 0000-0003-0316-3449
- orcid: 0000-0002-9633-0017 # Armando Bazzani
- orcid: 0000-0003-0316-3449 # Mirko Degli Esposti
- orcid: 0000-0002-0005-0441 # Giulio Colombini
- orcid: 0009-0004-7797-9138 # Gregorio Berselli