Skip to content

Commit c6b5df0

Browse files
committed
Add Renovate configuration for automated dependency updates
Configures Renovate with the same patterns used in liquid-ceph: - Groups minor/patch external deps into a single PR - Automerges github.com/sapcc and github.com/cobaltcore-dev deps - Gates Go minor/major version bumps behind dashboard approval - Runs go mod tidy after updates - Schedules PRs for Friday mornings - Enables OSV vulnerability alerts
1 parent b91778b commit c6b5df0

1 file changed

Lines changed: 71 additions & 0 deletions

File tree

.github/renovate.json

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"config:recommended",
5+
"default:pinDigestsDisabled",
6+
"mergeConfidence:all-badges",
7+
"docker:disable"
8+
],
9+
"commitMessageAction": "Renovate: Update",
10+
"constraints": {
11+
"go": "1.26"
12+
},
13+
"dependencyDashboardOSVVulnerabilitySummary": "all",
14+
"osvVulnerabilityAlerts": true,
15+
"postUpdateOptions": [
16+
"gomodTidy",
17+
"gomodUpdateImportPaths"
18+
],
19+
"packageRules": [
20+
{
21+
"matchPackageNames": [
22+
"/.*/"
23+
],
24+
"matchUpdateTypes": [
25+
"minor",
26+
"patch"
27+
],
28+
"groupName": "External dependencies"
29+
},
30+
{
31+
"matchPackageNames": [
32+
"/^github\\.com\\/sapcc\\/.*/"
33+
],
34+
"automerge": true,
35+
"groupName": "github.com/sapcc"
36+
},
37+
{
38+
"matchPackageNames": [
39+
"/^github\\.com\\/cobaltcore-dev\\/.*/"
40+
],
41+
"automerge": true,
42+
"groupName": "github.com/cobaltcore-dev"
43+
},
44+
{
45+
"matchPackageNames": [
46+
"go",
47+
"golang",
48+
"actions/go-versions"
49+
],
50+
"groupName": "golang",
51+
"separateMinorPatch": true
52+
},
53+
{
54+
"matchPackageNames": [
55+
"go",
56+
"golang",
57+
"actions/go-versions"
58+
],
59+
"matchUpdateTypes": [
60+
"minor",
61+
"major"
62+
],
63+
"dependencyDashboardApproval": true
64+
}
65+
],
66+
"prHourlyLimit": 0,
67+
"schedule": [
68+
"before 8am on Friday"
69+
],
70+
"semanticCommits": "disabled"
71+
}

0 commit comments

Comments
 (0)