fix: fall back to gh auth token in fetch_github_stars

Local runs of make fetch_github_stars required a GITHUB_TOKEN in .env even when gh was already logged in.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Vinta Chen
2026-10-31 22:13:53 +08:00
co-authored by Claude
parent 732d4919ba
commit ea593a813e
+1 -1
View File
@@ -5,7 +5,7 @@ install:
uv sync --locked
fetch_github_stars:
uv run python website/fetch_github_stars.py
GITHUB_TOKEN="$${GITHUB_TOKEN:-$$(gh auth token)}" uv run python website/fetch_github_stars.py
fetch_pypi_downloads:
uv run python website/fetch_pypi_downloads_via_clickpy.py