From d1fdf7538991e2d7d87c7df59ef6a41d2c29cd3e Mon Sep 17 00:00:00 2001 From: Marc LeBlanc <7050295+marcleblanc2@users.noreply.github.com> Date: Wed, 14 Oct 2026 19:09:57 -0600 Subject: [PATCH] Extend the shared Renovate preset; stop Renovate bumping Sourcegraph images Sourcegraph image tags in docker-compose/ are pinned by the release process (release.yaml), so Renovate's image-bump PRs only ever got closed as stale. Disable them, extend sourcegraph/renovate-config like the other repos, batch non-major updates into one weekly PR, and re-enable direct Go module updates (the shared preset disables Go). Amp-Thread-ID: https://ampcode.com/threads/T-01a13d0e-f8a7-7760-b810-54d32d07cf6a Co-authored-by: Amp --- renovate.json | 38 +++++++++++--------------------------- 1 file changed, 11 insertions(+), 27 deletions(-) diff --git a/renovate.json b/renovate.json index a58a74a9c..a09df2a24 100644 --- a/renovate.json +++ b/renovate.json @@ -1,34 +1,18 @@ { - "$schema": "http://json.schemastore.org/renovate", - "extends": ["config:base"], - "prHourlyLimit": 5, - "schedule": ["before 3am on Monday"], + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": ["local>sourcegraph/renovate-config", "schedule:weekly", "group:allNonMajor"], "packageRules": [ { - "packagePatterns": ["^index.docker.io/sourcegraph/"], - "excludePackageNames": ["index.docker.io/sourcegraph/grafana", "index.docker.io/sourcegraph/prometheus"], - "groupName": "Sourcegraph Docker images", - "versionScheme": "semver", - "ignoreUnstable": false, - "semanticCommits": false, - "automerge": true + "description": "Sourcegraph image tags are set by the release process (release.yaml), not Renovate", + "matchDatasources": ["docker"], + "matchPackageNames": ["index.docker.io/sourcegraph/**"], + "enabled": false }, { - "packageNames": ["index.docker.io/sourcegraph/grafana", "index.docker.io/sourcegraph/prometheus"], - "groupName": "Sourcegraph Prometheus / Grafana Docker images", - "allowedVersions": "<10.0", - "versionScheme": "semver", - "ignoreUnstable": false, - "semanticCommits": false, - "automerge": true - }, - { - "groupName": "Sourcegraph Docker images list", - "packagePatterns": ["github.com/sourcegraph/sourcegraph/enterprise/dev/ci/images"], - "allowedVersions": "~=0.0.0", - "automerge": true + "description": "The shared preset disables Go; this repo's Go is CI tooling that should stay current", + "matchManagers": ["gomod"], + "matchDepTypes": ["require"], + "enabled": true } - ], - "masterIssue": true, - "pinDigests": true + ] }