fix(ci): fetch stargazers via REST API instead of gh CLI (#284) · octo-patch/loop-engineering@f3dc817 · GitHub
Skip to content

Commit f3dc817

Browse files
cobusgreylingCobus Greyling
andauthored
fix(ci): fetch stargazers via REST API instead of gh CLI (cobusgreyling#284)
gh api ignores GH_TOKEN in Actions and fails immediately on the stargazers endpoint. Use urllib with Bearer auth against the REST API; keep gh auth token as a local fallback when no env token is set. Co-authored-by: Cobus Greyling <cobusgreyling@Cobuss-MacBook-Pro-2.local>
1 parent a15bb53 commit f3dc817

2 files changed

Lines changed: 57 additions & 31 deletions

File tree

‎.github/workflows/update-star-history.yml‎

Lines changed: 0 additions & 1 deletion

‎scripts/generate-star-history.py‎

Lines changed: 57 additions & 30 deletions

0 commit comments

Comments
 (0)