Upgrade Gitea to 28.4.0 and Actions runner to 6.1.0 #716

Merged
raucao merged 3 commits from chore/upgrade_gitea-runner into master 2026-12-02 11:00:55 +00:00
Owner

Summary

Upgrades Gitea from 28.3.0 to 28.4.0 and the Gitea Actions runner from 5.4.0 to 6.1.0.

Gitea 28.4.0 is a maintenance and security release with no app.ini changes. It fixes command execution through repository auto-initialization, disclosure of owner password hashes via the repository search, a branch-protection file-pattern bypass, unlimited wrong TOTP attempts, and several missing permission checks (release attachments, PR reviews, AGit, OAuth2 token state, Git LFS with REQUIRE_SIGNIN_VIEW).

The runner jump 5.4.0 → 6.1.0 includes the breaking 6.0.0 release, which removes the builtin:checkout action and requires Gitea 1.26.2 or newer (satisfied). We map builtin:checkout back to actions/checkout@v6 with the new runner.action_replacements setting, so repositories whose workflows still use it keep working without edits. Unlike builtin:checkout, actions/checkout is a JavaScript action, so jobs now depend on GitHub reachability (or a github_mirror) and a node runtime.

Runner 6.1.0 runs JavaScript actions and hashFiles() on a pinned Node.js 24 that the runner downloads from nodejs.org (or NODEJS_ORG_MIRROR) on first use and bind-mounts read-only into job containers, so job images no longer need node. runner.node_download is left at its default.

Deployed

Converged gitea-2 with the full runlist (roles gitea and gitea_actions_runner) and verified on the node:

  • gitea version 28.4.0 built with go1.27.4
  • gitea-runner version v6.1.0
  • gitea, gitea-runner-kosmos, gitea-runner-kredits and gitea-runner-5apps all active

The branch is rebased on current master; master already had kosmos_gitea 0.3.8/0.3.9, so our changelog entry is numbered 0.3.10.

Follow-up

Run a workflow that uses builtin:checkout once to confirm the new actions/checkout@v6 path resolves on the instance.

## Summary Upgrades Gitea from 28.3.0 to 28.4.0 and the Gitea Actions runner from 5.4.0 to 6.1.0. Gitea 28.4.0 is a maintenance and security release with no `app.ini` changes. It fixes command execution through repository auto-initialization, disclosure of owner password hashes via the repository search, a branch-protection file-pattern bypass, unlimited wrong TOTP attempts, and several missing permission checks (release attachments, PR reviews, AGit, OAuth2 token state, Git LFS with `REQUIRE_SIGNIN_VIEW`). The runner jump 5.4.0 → 6.1.0 includes the breaking 6.0.0 release, which removes the `builtin:checkout` action and requires Gitea 1.26.2 or newer (satisfied). We map `builtin:checkout` back to `actions/checkout@v6` with the new `runner.action_replacements` setting, so repositories whose workflows still use it keep working without edits. Unlike `builtin:checkout`, `actions/checkout` is a JavaScript action, so jobs now depend on GitHub reachability (or a `github_mirror`) and a `node` runtime. Runner 6.1.0 runs JavaScript actions and `hashFiles()` on a pinned Node.js 24 that the runner downloads from nodejs.org (or `NODEJS_ORG_MIRROR`) on first use and bind-mounts read-only into job containers, so job images no longer need `node`. `runner.node_download` is left at its default. ## Deployed Converged `gitea-2` with the full runlist (roles `gitea` and `gitea_actions_runner`) and verified on the node: - `gitea version 28.4.0 built with go1.27.4` - `gitea-runner version v6.1.0` - `gitea`, `gitea-runner-kosmos`, `gitea-runner-kredits` and `gitea-runner-5apps` all active The branch is rebased on current `master`; master already had `kosmos_gitea` `0.3.8`/`0.3.9`, so our changelog entry is numbered `0.3.10`. ## Follow-up Run a workflow that uses `builtin:checkout` once to confirm the new `actions/checkout@v6` path resolves on the instance.
raucao added 2 commits 2026-12-02 10:27:32 +00:00
Gitea 28.4.0 is a maintenance/security release with no app.ini changes.

Runner 6.0.0 removed the builtin:checkout action; map it to
actions/checkout@v6 via runner.action_replacements so existing workflows
keep working. 6.1.0 runs JavaScript actions on a Node.js 24 the runner
downloads and mounts into jobs.
# Conflicts:
#	site-cookbooks/kosmos_gitea/CHANGELOG.md
#	site-cookbooks/kosmos_gitea/metadata.rb
raucao added the
service
gitea
kredits-1ops
labels 2026-12-02 10:54:48 +00:00
raucao added 1 commit 2026-12-02 10:56:30 +00:00
raucao merged commit 1ecf29e676 into master 2026-12-02 11:00:55 +00:00
raucao deleted branch chore/upgrade_gitea-runner 2026-12-02 11:00:55 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kosmos/chef#716