Skip to content

Commit e338de6

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 374cac1 commit e338de6

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,6 +10,11 @@
1010
"automerge": false,
1111
"platformAutomerge": false,
1212
"prConcurrentLimit": 5,
13+
"osvVulnerabilityAlerts": true,
14+
"vulnerabilityAlerts": {
15+
"enabled": true,
16+
"labels": ["automated", "security"]
17+
},
1318
"packageRules": [
1419
{
1520
"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.",
@@ -22,6 +27,13 @@
2227
"matchManagers": ["gomod"],
2328
"matchDepTypes": ["golang"],
2429
"enabled": false
30+
},
31+
{
32+
"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.",
33+
"matchManagers": ["gomod"],
34+
"matchDepTypes": ["indirect"],
35+
"enabled": true,
36+
"groupName": "indirect go modules"
2537
}
2638
]
2739
}

0 commit comments

Comments
 (0)