The Forgejo runner injects GITHUB_SERVER_URL as http://localhost:3002, which
is unreachable from inside the job container. Use the public URL instead.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- package.yml: correct Arch registry upload (octet-stream + binary body),
drop --privileged, manual shell clone (archlinux image has no Node),
built-in Actions token, --nocheck
- mirror.yml: clone --mirror + explicit refs push with --prune
Requires only the GITHUB_MIRROR_TOKEN secret for the mirror job.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- .forgejo/workflows/mirror.yml: mirrors every push/tag to GitHub
- .forgejo/workflows/package.yml: builds PKGBUILD on tag and publishes
the bread package to the Forgejo Arch registry (distrib=breadway)
Requires two Forgejo secrets:
GITHUB_MIRROR_TOKEN — GitHub PAT with repo push scope
FORGEJO_TOKEN — Forgejo token with package:write scope
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>