-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrenovate.json
More file actions
85 lines (85 loc) · 2.84 KB
/
renovate.json
File metadata and controls
85 lines (85 loc) · 2.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
":dependencyDashboard",
":semanticCommits",
":separateMajorReleases",
":timezone(America/Los_Angeles)",
"schedule:weekly"
],
"labels": ["dependencies"],
"prHourlyLimit": 4,
"prConcurrentLimit": 10,
"rangeStrategy": "bump",
"lockFileMaintenance": {
"enabled": true,
"schedule": ["before 6am on monday"]
},
"vulnerabilityAlerts": {
"enabled": true,
"labels": ["security", "dependencies"]
},
"nix": {
"enabled": true
},
"packageRules": [
{
"description": "Group all Nix flake input bumps into one PR — they tend to move together and one fleet rebuild covers them all.",
"matchManagers": ["nix"],
"groupName": "nix flake inputs",
"commitMessageTopic": "nix flake inputs"
},
{
"description": "Group Cargo workspace dep bumps so reviewers only see one Cargo.lock churn per cycle.",
"matchManagers": ["cargo"],
"groupName": "cargo workspace deps",
"commitMessageTopic": "cargo deps"
},
{
"description": "Group pnpm web monorepo deps.",
"matchManagers": ["npm"],
"matchFileNames": ["web/**"],
"groupName": "web pnpm deps",
"commitMessageTopic": "web pnpm deps"
},
{
"description": "Helm subchart deps in chart/hearth-home/Chart.yaml.",
"matchManagers": ["helmv3"],
"groupName": "helm subcharts"
},
{
"description": "docker-compose image tags — keep separate so we can review each service bump individually (Kanidm, Stalwart, Nextcloud, etc. all need careful upgrade checks).",
"matchManagers": ["docker-compose"],
"matchUpdateTypes": ["major", "minor"],
"automerge": false
},
{
"description": "Auto-merge patch-level Cargo/npm bumps when CI passes — low risk, high signal.",
"matchManagers": ["cargo", "npm"],
"matchUpdateTypes": ["patch"],
"automerge": true,
"automergeType": "pr",
"platformAutomerge": true
},
{
"description": "Pin Kanidm explicitly — moving between Kanidm minor versions requires kanidmd domain upgrade-check and may need data migration. Never auto-merge.",
"matchPackageNames": ["kanidm/server", "kanidm"],
"automerge": false,
"labels": ["kanidm-upgrade", "needs-review"]
}
],
"customManagers": [
{
"customType": "regex",
"description": "Bump the inline kanidm-cli version pin in nix/kanidm-cli.nix when Renovate sees a new Kanidm release.",
"fileMatch": ["^nix/kanidm-cli\\.nix$"],
"matchStrings": [
"version\\s*=\\s*\"(?<currentValue>\\d+\\.\\d+\\.\\d+)\""
],
"datasourceTemplate": "github-releases",
"depNameTemplate": "kanidm/kanidm",
"extractVersionTemplate": "^v(?<version>\\d+\\.\\d+\\.\\d+)$"
}
]
}