feat: synchronize GitHub releases with Gitea

Gitea pull mirrors preserve Git refs but leave release notes and uploaded artifacts outside the backup. Without a separate synchronization path, restoring a repository would still depend on GitHub for important release context and binaries.
This commit is contained in:
Andre
2026-08-08 09:26:35 +02:00
parent d7f5097d1f
commit ecc8aa1c1a
5 changed files with 630 additions and 24 deletions
+4
View File
@@ -22,5 +22,9 @@ GITEA_OWNER=your-gitea-username
MIRROR_INTERVAL=24h
INCLUDE_FORKS=false
INCLUDE_ARCHIVED=true
# Gitea's native mirror only pulls git data. The script separately keeps
# GitHub release metadata and uploaded assets in sync on every cron run.
SYNC_RELEASES=true
SYNC_RELEASE_ASSETS=true
# Set to true to preview without changing anything.
DRY_RUN=false