08ffd0106338395cfd8062eed9897aecff0bd2ea
renovate / renovate (push) Failing after 2m1s
go directive, fast-track toolchain (#547)
Aligns Go version handling with the two distinct go.mod directives: - The `go` directive is the minimum language version. Renovate leaves `depType: golang` disabled by default, so the rule that bumped it is removed and it no longer churns. - The `toolchain` directive pins the exact build version. Renovate proposes `toolchain` updates by default, and a new rule fast-tracks them (`at any time`, no min-age). Effect per consumer repo: - With a `toolchain` directive: bumped to the latest Go patch immediately. - With only a `go` directive: left untouched. Regular module updates still flow under the "Go dependencies" group, and `gomodTidy` raises the `go` directive only when an updated dependency requires it, so builds never break. Mirrors the same change in gitea/gitea: https://github.com/go-gitea/gitea/pull/37846 --- This PR was written with the help of Claude Opus 4.7. Reviewed-on: https://gitea.com/gitea/renovate-config/pulls/547 Reviewed-by: techknowlogick <9+techknowlogick@noreply.gitea.com> Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: silverwind <me@silverwind.io> Co-committed-by: silverwind <me@silverwind.io>
renovate-config
To host the renovate config.
config.jsholds the self-hosted Renovate configuration so that Renovate knows what and how it should process.renovate.jsonin this repository ensures to receive Renovate updates.default.jsonholds the basic config for all repositories. It extends the presets by the renovate project defined inrenovate-schema.json.- Each repository can extend/alter this config by adding a
renovate.jsonfile to the root of the repository.
Reusable presets
Golang dependency group
What it does:
- Groups all Golang dependencies into one PR
- Respects your repository's
separateMajorMinorsetting1
- Respects your repository's
- Runs
go mod tidybefore committing to ensure a cleango.sum2
Usage:
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"local>gitea/renovate-config",
+ "local>gitea/renovate-config:go-deps"
]
}
NPM dependency group
What it does:
- Groups all NPM dependencies3 into one PR
- Respects your repository's
separateMajorMinorsetting1
- Respects your repository's
- Groups all NPM dev-dependencies3 into one PR
- Respects your repository's
separateMajorMinorsetting1
- Respects your repository's
Usage:
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"local>gitea/renovate-config",
+ "local>gitea/renovate-config:npm-deps"
]
}
Workflow dependency group
What it does:
- Groups all workflow dependencies into one PR
- Respects your repository's
separateMajorMinorsetting1
- Respects your repository's
Usage:
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"local>gitea/renovate-config",
+ "local>gitea/renovate-config:workflow-deps"
]
}
Security fixes
What it does:
- Bumps a dependency to resolve a vulnerability4
- Overrules any scheduling and grouping for that vulnerability
Usage:
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"local>gitea/renovate-config",
+ "local>gitea/renovate-config:security"
]
}
Languages
JavaScript
100%