From fac8bf2eca95793f7c0bb1b8d4ffaf4a72bcee32 Mon Sep 17 00:00:00 2001 From: silverwind Date: Sun, 9 Aug 2026 12:04:14 +0200 Subject: [PATCH] ci: install tools for renovate post-upgrade tasks (#38815) Renovate installs a toolchain only for the managers a branch actually updates. A branch without a gomod update therefore has no `go` on `PATH`, and `make tidy` [fails](https://github.com/go-gitea/gitea/pull/38813#issuecomment-5211013198). Fix by installing those tools. `node` is not needed because it comes with renovate. --------- Signed-off-by: silverwind --- renovate.json5 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/renovate.json5 b/renovate.json5 index c5969a6be2..1a8612320b 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -19,6 +19,10 @@ }, "postUpgradeTasks": { "commands": ["make tidy", "make svg", "make generate-codemirror-languages"], + "installTools": { + "golang": {}, + "pnpm": {}, + }, "fileFilters": [ "go.mod", "go.sum",