feat: restore AUR auto-publish on forgejo + v2 mirror scaffolding #4

Merged
barrettruth merged 1 commit from fix/aur-workflow-email-and-v2-mirror into main 2026-05-01 20:53:10 +00:00
Owner

Two coupled changes:

  1. Restore AUR auto-publish on forgejo. The github workflow at .github/workflows/aur.yml was dropped during the github→forgejo CI port (commit 2f83e2d) on the rationale of "github-secret-dependent AUR mirror, no forgejo equivalent". Reviving it on forgejo with:

    • runs-on: nix (forgejo runner label)
    • secrets.AUR_SSH_KEY (forgejo repo-level secret; user must add separately)
    • Corrected git commit email: barrettruth@gmail.combr@barrettruth.com (the actual reason this PR exists)
    • Caveat: container: archlinux:base-devel may need adjustment depending on whether forgejo's host-execution runners support docker pull. Worth flagging as a follow-up.
  2. v2 mirror scaffolding for the canonical-host migration:

    • .github/README.md — github-only readme banner + full root README body (asymmetric content; forgejo renders root, github renders .github/README.md)
    • .github/workflows/redirect-pr-to-forgejo.yaml — auto-close incoming github PRs with a redirect comment to forgejo

Mirror plumbing (forgejo→github push-mirror, deploy key, github metadata, remove local github remote) lands separately after merge.

Two coupled changes: 1. **Restore AUR auto-publish on forgejo.** The github workflow at `.github/workflows/aur.yml` was dropped during the github→forgejo CI port (commit `2f83e2d`) on the rationale of "github-secret-dependent AUR mirror, no forgejo equivalent". Reviving it on forgejo with: - `runs-on: nix` (forgejo runner label) - `secrets.AUR_SSH_KEY` (forgejo repo-level secret; user must add separately) - **Corrected git commit email**: `barrettruth@gmail.com` → `br@barrettruth.com` (the actual reason this PR exists) - Caveat: `container: archlinux:base-devel` may need adjustment depending on whether forgejo's host-execution runners support docker pull. Worth flagging as a follow-up. 2. **v2 mirror scaffolding** for the canonical-host migration: - `.github/README.md` — github-only readme banner + full root README body (asymmetric content; forgejo renders root, github renders `.github/README.md`) - `.github/workflows/redirect-pr-to-forgejo.yaml` — auto-close incoming github PRs with a redirect comment to forgejo Mirror plumbing (forgejo→github push-mirror, deploy key, github metadata, remove local `github` remote) lands separately after merge.
- port .github/workflows/aur.yml to .forgejo/workflows/aur.yaml (runs-on: nix, secrets.AUR_SSH_KEY)
- correct AUR commit email: barrettruth@gmail.com -> br@barrettruth.com
- add .github/README.md (mirror banner + full root readme body)
- add .github/workflows/redirect-pr-to-forgejo.yaml (PR-redirect on github)
Sign in to join this conversation.
No description provided.