Skip to content

fix(release): mirror the skills repo by PR instead of the commit API - #365

Draft
gewenyu99 wants to merge 1 commit into
mainfrom
skills-gpg-mirror
Draft

fix(release): mirror the skills repo by PR instead of the commit API#365
gewenyu99 wants to merge 1 commit into
mainfrom
skills-gpg-mirror

Conversation

@gewenyu99

Copy link
Copy Markdown
Collaborator

Signs the mirror commit locally so it can be pushed by git rather than built through the size-capped commit API, and lands it as an auto-merging PR the way ai-plugin's sync does.

🤖 Generated with Claude Code

@gewenyu99
gewenyu99 force-pushed the skills-gpg-mirror branch 2 times, most recently from 507c1c9 to 1b6b576 Compare August 26, 2026 17:10
The mirror step committed straight to the target's default branch through
createCommitOnBranch, which takes the whole tree in one request and times
out once that tree is large. Each failure left more drift for the next
release, so PostHog/skills has been stuck at v1.9.4 since March.

Lands the sync the way PostHog/ai-plugin's own sync-skills workflow does
instead: push a branch whose tip is the base commit, have the API create
the signed commit on it, open a PR, let auto-merge squash it in. The
mirror never writes to the default branch directly, and a failed run
leaves a branch rather than a half-synced main.

The mirror moves into a composite action, matching the mirror-to-s3
action already in this repo.

Also invokes the omnibus hook through bash, since the mirrored copy has
no executable bit.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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