From ea593a813eb158a35fbde3bc7e85c2f66ef0b1f6 Mon Sep 17 00:00:00 2001 From: Vinta Chen Date: Sat, 31 Oct 2026 22:13:53 +0800 Subject: [PATCH] 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 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5a07ad91..6c6a331a 100644 --- a/Makefile +++ b/Makefile @@ -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