mirror of
https://github.com/go-gitea/gitea.git
synced 2026-12-04 15:54:57 +00:00
Structural cleanups in the Actions code, plus fixes that align run behaviour with GitHub Actions. - Load a reusable caller's ancestor chain once for both expansion checks and its dispatch inputs. - Extract the rerun job reset and pass-through rules so they can be unit tested. - Share the gate a job passes once its `if:` holds (max-parallel slot, invalid `runs-on`, concurrency group) between run insertion, rerun and approval. The job emitter keeps its own, which also defers to groups admitted in the same pass. - Resolve the scope of every actions settings page, secrets included, in one place. The variables and secrets pages dereferenced a nil context when the org header failed to render. - Move the API handler interface to the API router, and record runner bulk-action audit events after the commit. - Split the 1500 and 2200 line handler files and move the actions converters into their own file, without code changes. - Partial reruns load a reusable workflow at the previous attempt's commit, full reruns resolve its ref again. - Reject loops through the root workflow at validation. - Compare concurrency groups case-insensitively and keep runs awaiting approval out of them until approved. - Fail-fast ignores failures carried over from an earlier attempt, and reruns fail a job with an invalid `runs-on`. Assisted-by: Claude Code:claude-opus-5-5 --------- Co-authored-by: Zettat123 <zettat123@gmail.com> Co-authored-by: silverwind <me@silverwind.io>