Mirror every branch and tag to GitHub from CI, keeping what only GitHub has #5

Merged
lilleman merged 3 commits from github-mirror into main 2026-09-14 20:56:45 +02:00
3 changed files with 4 additions and 5 deletions
Showing only changes of commit c5adfd8e39 - Show all commits
-1
View File
@@ -7,7 +7,6 @@ permissions:
contents: read contents: read
jobs: jobs:
# No concurrency group: Gitea cancels a queued run when the next one in its group arrives, dropping the delete.
delete: delete:
runs-on: ubuntu-24.04 runs-on: ubuntu-24.04
timeout-minutes: 10 timeout-minutes: 10
+1 -1
View File
@@ -13,7 +13,7 @@ jobs:
push: push:
runs-on: ubuntu-24.04 runs-on: ubuntu-24.04
timeout-minutes: 10 timeout-minutes: 10
# Gitea 1.26 rolls back a run whose jobs share a group, so the delete job lives in mirror-delete.yaml. # Gitea cancels a queued job in this group when the next one arrives; only the full push may join.
concurrency: concurrency:
group: mirror group: mirror
steps: steps:
+3 -3
View File
@@ -148,9 +148,9 @@ docker compose run --rm node npm run build
TypeScript 7 once that constraint lifts. TypeScript 7 once that constraint lifts.
- GitHub mirrors Gitea through `.gitea/workflows/mirror.yaml`, which never prunes, and - GitHub mirrors Gitea through `.gitea/workflows/mirror.yaml`, which never prunes, and
`mirror-delete.yaml`, one run per deleted ref. A delete run that fails or outlives Gitea's queue `mirror-delete.yaml`, one run per deleted ref. A delete run that fails or outlives Gitea's queue
timeout leaves the ref on GitHub until it is re-run. Accepted: a stale ref there is harmless, and timeout, or a push run that cloned before the delete, leaves the ref on GitHub until the delete
refs only GitHub has must survive. Maintainer's call, 2026-09-14; valid while nothing deploys from run is re-run. Accepted: a stale ref there is harmless, and refs only GitHub has must survive.
GitHub. Maintainer's call, 2026-09-14; valid while nothing deploys from GitHub.
## Defects found in 0.4.0 ## Defects found in 0.4.0