Skip to content

ci: publish star history on its own branch instead of a PR - #30

Merged
kushiemoon-dev merged 1 commit into
mainfrom
ci/star-history-branch
Nov 20, 2026
Merged

kushiemoon-dev merged 1 commit into
mainfrom
ci/star-history-branch

Conversation

@kushiemoon-dev

Copy link
Copy Markdown
Owner

The weekly star-history workflow opened a PR from star-history-update, but main requires its test check and that check never runs on a PR opened with the default token, so every one of them sat in action_required until I approved it by hand.

Now the workflow force-pushes the SVG to a star-history branch and the README links to its raw URL. No PR, nothing to approve. docs/star-history.svg is gone from main, and the workflow only needs contents: write.

The star-history branch doesn't exist until the workflow runs once, so I'll trigger it right after merging. Until then the image in the README is broken.

star-history.yml opened a PR every week to update docs/star-history.svg.
main is protected and requires its test check, which never runs on a PR
opened with the default token, so each PR sat in action_required and had
to be approved and merged by hand.

Push the SVG to an unprotected star-history branch instead and point the
README at its raw URL. The workflow now only needs contents: write, and
docs/star-history.svg is removed from main.
@kushiemoon-dev
kushiemoon-dev merged commit dc365f8 into main Nov 20, 2026
7 checks passed
@kushiemoon-dev
kushiemoon-dev deleted the ci/star-history-branch branch November 20, 2026 14:57
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.

1 participant