mirror of
https://gitea.com/gitea/act_runner.git
synced 2026-11-24 04:42:13 +08:00
Adds `runner.action_replacements`, regex rules that rewrite the `uses` of steps before they run. This keeps commits with `uses: builtin:checkout` buildable after the builtin actions were removed, and also allows redirecting actions to a mirror. Each regex must match the whole `uses`, `${1}` refers to a group, and rules apply in order.
Refs: https://gitea.com/gitea/runner/pulls/1407#issuecomment-1869470
_Written by Claude (Opus 5.5)._
Reviewed-on: https://gitea.com/gitea/runner/pulls/1417
Reviewed-by: bircni <bircni@icloud.com>
Co-authored-by: silverwind <2021+silverwind@noreply.gitea.com>