Mirror generator commits via workflow_run, not a hand-rolled push - #26
Merged
jstoobysmith merged 1 commit intoSep 18, 2026
Merged
Conversation
… push The 2026-08 report reached the mirror at the git level after the previous fix (force-push resolved the non-fast-forward rejection), but Vercel's Hobby plan silently refuses to *build* a commit whose author isn't the account owner - the actual reason mirror-to-personal.yml rewrites authorship via filter-branch before it force-pushes. Patching that by amending authorship in three more places, on top of the existing force-push duplication, was reimplementing mirror-to-personal.yml's job a third time over instead of using it. mirror-to-personal.yml now also triggers on workflow_run for the three generator workflows. workflow_run isn't subject to the restriction that keeps GITHUB_TOKEN-authored pushes from triggering `push` (that's the whole reason these workflows needed their own mirror step at all), so their commits now reach the mirror through the same clone + rewrite + force-push mirror-to-personal.yml already uses for every other push - correct authorship included, with nothing duplicated. monthly-updates.yml, api-map.yml, and references.yml drop their own "Mirror to personal repo (Vercel)" step and the HAS_MIRROR_PAT env it needed; they still commit and push to origin exactly as before, mirroring is no longer their job. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Alex-Zughaid
force-pushed
the
fix/mirror-commit-authorship
branch
from
September 18, 2026 14:31
e54f7d2 to
3c16972
Compare
jstoobysmith
approved these changes
Sep 18, 2026
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.
Remove the mirror to personal steps from each workflow as they didn't work.