Mirrors all repos from OpenOS-Project-OSP → OpenOS-Project-Ecosystem-OOC.
Runs daily at 01:30 UTC via GitHub Actions. Can also be triggered manually.
- Create a PAT with
repoandadmin:orgscopes (access to both orgs) - Store it as
MIRROR_TOKENin this repo's Actions secrets - The workflow handles the rest: creates missing repos in OOC, then
git push --mirror
- Lists all repos in OSP via the GitHub API
- For each repo, checks if it exists in OOC — creates it if not
- Does a bare clone +
git push --mirrorto sync all branches, tags, and refs - Skips the
org-mirrorrepo itself to avoid recursion