Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 678 Bytes

File metadata and controls

17 lines (12 loc) · 678 Bytes

mirror-actions

Scheduled GitHub Actions that mirror external git repositories into FascodeNet.

Each workflow clones an upstream repo with git clone --mirror and force-pushes every ref into the corresponding FascodeNet mirror via a write-enabled deploy key.

upstream mirror schedule
git.archlinux32.org/archlinux32-keyring FascodeNet/archlinux32-keyring weekly (Mon 04:17 UTC)

Adding a mirror

  1. Create the destination repo under FascodeNet.
  2. Register a write-enabled deploy key on it and store the private key as a repository secret here.
  3. Add a job to .github/workflows/mirror.yml that reads that secret and pushes.