Automate Star History updates - #72
Open
tianyilt wants to merge 1 commit into
Open
Conversation
tianyilt
marked this pull request as ready for review
August 16, 2026 09:12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
README.mdwith managedstar-historymarkers.workflow_dispatchtrigger for the first run and ad-hoc refreshes.narayann7/star-history-actionto the v1.0.5 commit.Why
The current README chart depends on a hosted
api.star-history.comURL and an encrypted token. Following GitHub's stargazers API restriction, that hosted chart can fail to render. Generating and committing the chart inside this repository avoids the brittle external image request and does not expose a personal access token.Impact
After merge, the workflow runs daily at 09:00 Asia/Singapore. The first scheduled or manually dispatched run will add the generated SVG/PNG assets and populate the README markers. Later runs commit only when the rendered chart changes.
Validation
main...agent/automate-star-history: one commit, two intended files, no unrelated changes.Repository Actions must permit
GITHUB_TOKENwrite access; protected-branch policy may also need to allow the Actions bot to commit generated assets.