Commit graph

5 commits

Author SHA1 Message Date
Breadway
753c325b6e Use REGISTRY_TOKEN (scoped write:package) for registry publish
All checks were successful
Mirror to GitHub / mirror (push) Successful in 5s
Build and publish package / package (push) Successful in 1m15s
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-13 22:55:42 +08:00
Breadway
b72c6d8f80 Clone from public URL, not GITHUB_SERVER_URL (resolves to localhost in runner)
All checks were successful
Mirror to GitHub / mirror (push) Successful in 3s
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>
2026-06-13 16:14:15 +08:00
Breadway
5f18df69c0 Rename mirror secret to MIRROR_TOKEN (GITHUB_ prefix is reserved)
Some checks failed
Mirror to GitHub / mirror (push) Failing after 1s
Forgejo/gitea rejects user secret names starting with GITHUB_.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-13 16:10:50 +08:00
Breadway
96880cbc79 Fix Forgejo workflows for the actual server capabilities
Some checks failed
Mirror to GitHub / mirror (push) Failing after 1s
- 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

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-13 16:02:23 +08:00
Breadway
90f12da252 Add packaging/arch PKGBUILD and Forgejo Actions workflows
Some checks failed
Mirror to GitHub / mirror (push) Failing after 34s
- packaging/arch/PKGBUILD: builds and publishes breadcrumbs to [breadway] repo
- .forgejo/workflows/mirror.yml: mirrors every push/tag to GitHub
- .forgejo/workflows/package.yml: builds on tag, publishes to Forgejo registry

Requires FORGEJO_TOKEN and GITHUB_MIRROR_TOKEN secrets in Forgejo.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-13 12:12:42 +08:00