Skip to content

Mirror generator commits via workflow_run, not a hand-rolled push - #26

Merged
jstoobysmith merged 1 commit into
Kernel-Science:mainfrom
Alex-Zughaid:fix/mirror-commit-authorship
Sep 18, 2026
Merged

jstoobysmith merged 1 commit into
Kernel-Science:mainfrom
Alex-Zughaid:fix/mirror-commit-authorship

Conversation

@Alex-Zughaid

@Alex-Zughaid Alex-Zughaid commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

Remove the mirror to personal steps from each workflow as they didn't work.

… 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
Alex-Zughaid force-pushed the fix/mirror-commit-authorship branch from e54f7d2 to 3c16972 Compare September 18, 2026 14:31
@Alex-Zughaid Alex-Zughaid changed the title Fix Vercel not building mirror commits (author restriction) Mirror generator commits via workflow_run, not a hand-rolled push Sep 18, 2026
@jstoobysmith
jstoobysmith merged commit a3a2fc4 into Kernel-Science:main Sep 18, 2026
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