Mirror the actions the workflows depend on #16

Open
opened 2026-08-03 13:18:00 +00:00 by day01 · 0 comments
Owner

Workflows resolve uses: against github.com, so every build depends on it
being reachable. The surface is small: actions/checkout,
actions/upload-artifact, actions/download-artifact, actions/cache.

RemoteAction accepts a per-step base URL
(crates/runner-workflow-github-actions/src/action/reference.rs:89-106), so a
full-URL uses: can point at syncode.sh without switching the forge-wide
DEFAULT_ACTIONS_URL. That allows migrating repository by repository instead
of breaking every workflow that still references an unmirrored action.

Gitea pull mirrors can keep the copies fresh without any code.

Workflows resolve `uses:` against github.com, so every build depends on it being reachable. The surface is small: `actions/checkout`, `actions/upload-artifact`, `actions/download-artifact`, `actions/cache`. `RemoteAction` accepts a per-step base URL (`crates/runner-workflow-github-actions/src/action/reference.rs:89-106`), so a full-URL `uses:` can point at syncode.sh without switching the forge-wide `DEFAULT_ACTIONS_URL`. That allows migrating repository by repository instead of breaking every workflow that still references an unmirrored action. Gitea pull mirrors can keep the copies fresh without any code.
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: syncode/runner#16