Compare commits

...

10 Commits

Author SHA1 Message Date
silverwind 08ffd01063 chore: stop bumping go directive, fast-track toolchain (#547)
renovate / renovate (push) Failing after 2m1s
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>
2026-05-25 16:18:41 +00:00
silverwind 302378139e port generic Renovate options from gitea's renovate.json5 (#545)
Ports repo-agnostic options from gitea/gitea's `renovate.json5`:

- `default.json`: `minimumReleaseAge: "5 days"`, `configMigration: true`
- `go-deps.json`: `gomodUpdateImportPaths` postUpdateOption + immediate Go toolchain bumps (opt-in preset, no-op without `go.mod`)
- `npm-deps.json`: `pnpmDedupe` postUpdateOption (no-op for non-pnpm repos)

Reviewed-on: https://gitea.com/gitea/renovate-config/pulls/545
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
Co-committed-by: silverwind <me@silverwind.io>
2026-05-22 20:23:45 +00:00
Renovate Bot 646cefac1e chore(deps): update ghcr.io/renovatebot/renovate docker tag to v43.191.2 (#546)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-05-22 00:15:14 +00:00
Renovate Bot c9ca38f94f chore(deps): update ghcr.io/renovatebot/renovate docker tag to v43.190.1 (#544)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-05-21 00:16:41 +00:00
Renovate Bot dd36b80195 chore(deps): update ghcr.io/renovatebot/renovate docker tag to v43.186.1 (#543)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-05-20 00:16:45 +00:00
Renovate Bot 6ac771f3ee chore(deps): update ghcr.io/renovatebot/renovate docker tag to v43.185.0 (#542)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-05-19 00:14:23 +00:00
Renovate Bot 6a0898cefd chore(deps): update ghcr.io/renovatebot/renovate docker tag to v43.182.1 (#541)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-05-18 00:15:20 +00:00
Renovate Bot df1e6fb2b5 chore(deps): update ghcr.io/renovatebot/renovate docker tag to v43.181.2 (#540)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-05-17 00:15:54 +00:00
Renovate Bot a6b283ec17 chore(deps): update ghcr.io/renovatebot/renovate docker tag to v43.180.3 (#539)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-05-16 00:15:54 +00:00
Renovate Bot 6267114a05 chore(deps): update ghcr.io/renovatebot/renovate docker tag to v43.180.0 (#538)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-05-15 00:20:19 +00:00
4 changed files with 16 additions and 2 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ on:
jobs: jobs:
renovate: renovate:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: ghcr.io/renovatebot/renovate:43.179.4 container: ghcr.io/renovatebot/renovate:43.191.2
steps: steps:
- uses: actions/checkout@v6 - uses: actions/checkout@v6
- run: renovate - run: renovate
+2
View File
@@ -1,6 +1,8 @@
{ {
"$schema": "https://docs.renovatebot.com/renovate-schema.json", "$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended","local>gitea/renovate-config:workflow-deps"], "extends": ["config:recommended","local>gitea/renovate-config:workflow-deps"],
"configMigration": true,
"minimumReleaseAge": "5 days",
"semanticCommits": "enabled", "semanticCommits": "enabled",
"automergeStrategy": "auto", "automergeStrategy": "auto",
"platformAutomerge": false "platformAutomerge": false
+10 -1
View File
@@ -4,12 +4,21 @@
"enabled": true "enabled": true
}, },
"postUpdateOptions": [ "postUpdateOptions": [
"gomodTidy" "gomodTidy",
"gomodUpdateImportPaths"
], ],
"packageRules": [ "packageRules": [
{ {
"groupName": "Go dependencies", "groupName": "Go dependencies",
"matchManagers": ["gomod"] "matchManagers": ["gomod"]
},
{
"description": "Bump the toolchain directive immediately",
"matchManagers": ["gomod"],
"matchDepTypes": ["toolchain"],
"rangeStrategy": "bump",
"schedule": ["at any time"],
"minimumReleaseAge": "0"
} }
] ]
} }
+3
View File
@@ -3,6 +3,9 @@
"npm": { "npm": {
"enabled": true "enabled": true
}, },
"postUpdateOptions": [
"pnpmDedupe"
],
"packageRules": [ "packageRules": [
{ {
"groupName": "npm dependencies", "groupName": "npm dependencies",