Skip to content

Fix Star History with token-free daily snapshots - #22

Merged
ClaudiaGardner merged 4 commits into
mainfrom
dev
Aug 12, 2026
Merged

Fix Star History with token-free daily snapshots#22
ClaudiaGardner merged 4 commits into
mainfrom
dev

Conversation

@Maple127667

Copy link
Copy Markdown
Contributor

Summary

  • replace the restricted stargazer-list request and persistent PAT with one daily aggregate stargazers_count snapshot
  • render the chart in a read-only job, then publish only star-history.json and star-history.svg to the dedicated star-history branch
  • point both README variants at the generated branch and remove the stale checked-in SVG
  • seed the aggregate-only history so the chart retains its existing trend

Security boundaries

  • no personal access token or repository secret
  • no stargazer usernames, profiles, or individual timestamps are collected
  • the renderer receives only the run-scoped read-only GITHUB_TOKEN
  • write permission exists only in the publish job and targets the star-history output branch
  • third-party workflow actions are pinned to full commit SHAs

Validation

Existing dev content

Because this PR intentionally uses the repository's existing dev branch, it also includes the earlier license-scope clarification already present on dev before this fix.

@ClaudiaGardner
ClaudiaGardner marked this pull request as ready for review August 12, 2026 09:04
@ClaudiaGardner
ClaudiaGardner merged commit 004b15e into main Aug 12, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants