Add Forgejo Actions workflows and fix [breadway] repo URL
Some checks failed
Mirror to GitHub / mirror (push) Failing after 2s

- .forgejo/workflows/mirror.yml: mirrors every push/tag to GitHub
- .forgejo/workflows/package.yml: builds PKGBUILD on tag and publishes
  bos-settings to the Forgejo Arch package registry (distrib=breadway)
- iso/pacman.conf: replace placeholder repo.breadway.dev with the actual
  Forgejo package registry URL

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>
This commit is contained in:
Breadway 2026-06-13 11:42:00 +08:00
parent 6f148e9a06
commit 2c6feb4ea0
3 changed files with 70 additions and 3 deletions

View file

@ -30,9 +30,10 @@ Include = /etc/pacman.d/mirrorlist
# bread ecosystem packages (bread, breadbar, breadbox, breadcrumbs, breadpad,
# bos-settings).
#
# TODO: Replace this URL with the actual hosted repo before building.
# See: https://github.com/Breadway/repo for setup instructions.
# Packages are published here by the Forgejo Actions package.yml workflow
# in each repo. See git.breadway.dev/api/packages/breadway/arch for the
# package registry.
# -----------------------------------------------------------------------
[breadway]
SigLevel = Optional TrustAll
Server = https://repo.breadway.dev/$arch
Server = https://git.breadway.dev/api/packages/breadway/arch/breadway/$arch