Skip to content

Commit 3bad10a

Browse files
ci(renovate): bump indirect Go deps and enable OSV vuln alerts
Renovate skips indirect gomod deps by default, so transitive modules (golang.org/x/crypto, x/net, x/sys) that carry OSV advisories never get a PR — leaving the OpenSSF Scorecard Vulnerabilities check pinned at 0 even after #3019 bumped x/crypto in the root module only. - enable indirect gomod updates, grouped into one rolling PR - turn on osvVulnerabilityAlerts so vulnerable deps get dedicated, mergeable security PRs (labeled `security`, not `do-not-merge/hold`) Does not address GO-2025-3512 (kubevirt.io/csi-driver): no fixed version exists upstream and Renovate cannot resolve the module, so the Vulnerabilities check stays at 0 until that advisory is suppressed or patched separately. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> Signed-off-by: Myasnikov Daniil <[email protected]>
1 parent fef9e76 commit 3bad10a

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

‎.github/renovate.json‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,19 @@
1010
"automerge": false,
1111
"platformAutomerge": false,
1212
"prConcurrentLimit": 5,
13+
"osvVulnerabilityAlerts": true,
14+
"vulnerabilityAlerts": {
15+
"enabled": true,
16+
"labels": ["automated", "security"]
17+
},
1318
"packageRules": [
19+
{
20+
"description": "Bump indirect Go modules too. Transitive deps such as golang.org/x/crypto, golang.org/x/net and golang.org/x/sys carry OSV advisories that drive the OpenSSF Scorecard Vulnerabilities check to 0, but Renovate skips indirect gomod deps by default so they never get a PR. Grouped into one rolling PR to keep volume sane; security fixes are still split out by vulnerabilityAlerts above. Placed before the kubernetes rule on purpose: an indirect k8s.io/** dep matches both, and Renovate applies last-match-wins, so the later kubernetes rule keeps it in the kubernetes lockstep group.",
21+
"matchManagers": ["gomod"],
22+
"matchDepTypes": ["indirect"],
23+
"enabled": true,
24+
"groupName": "indirect go modules"
25+
},
1426
{
1527
"description": "Keep controller-runtime and the Kubernetes libraries in lockstep. A split bump breaks compilation because a given controller-runtime release expects a matching client-go / apimachinery line.",
1628
"groupName": "kubernetes",

0 commit comments

Comments
 (0)