forked from Stellabill/stellabill-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrenovate.json
More file actions
81 lines (69 loc) · 2.61 KB
/
Copy pathrenovate.json
File metadata and controls
81 lines (69 loc) · 2.61 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": "Renovate configuration for stellabill-backend. Minor/patch Go module bumps are auto-merged after CI passes (stabilityDays: 3). Major bumps require manual review. OTel packages are grouped to reduce PR churn.",
"extends": [
"config:recommended"
],
"dependencyDashboard": true,
"dependencyDashboardTitle": "Renovate Dependency Dashboard",
"stabilityDays": 3,
"schedule": ["every weekend"],
"labels": ["dependencies"],
"packageRules": [
{
"description": "Group all OpenTelemetry packages into a single PR to reduce churn (they release in lock-step).",
"matchManagers": ["gomod"],
"matchPackagePrefixes": ["go.opentelemetry.io/"],
"groupName": "opentelemetry",
"groupSlug": "otel",
"labels": ["dependencies", "otel"]
},
{
"description": "Auto-merge minor and patch Go module updates once CI passes and the version has been stable for stabilityDays.",
"matchManagers": ["gomod"],
"matchUpdateTypes": ["minor", "patch"],
"automerge": true,
"automergeType": "pr",
"automergeStrategy": "squash",
"platformAutomerge": true
},
{
"description": "Major Go module bumps require manual review — no automerge, add a review label.",
"matchManagers": ["gomod"],
"matchUpdateTypes": ["major"],
"automerge": false,
"labels": ["dependencies", "major-upgrade", "needs-review"],
"prPriority": 5
},
{
"description": "Group semver-major updates for the same package together so reviewers see the full blast-radius in one PR.",
"matchManagers": ["gomod"],
"matchUpdateTypes": ["major"],
"groupName": "go major upgrades",
"groupSlug": "go-major"
},
{
"description": "Keep the Go toolchain directive itself as a separate PR for explicit review.",
"matchManagers": ["gomod"],
"matchDepTypes": ["golang"],
"automerge": false,
"labels": ["dependencies", "go-toolchain", "needs-review"]
},
{
"description": "GitHub Actions: auto-merge patch/minor, require review for major.",
"matchManagers": ["github-actions"],
"matchUpdateTypes": ["minor", "patch"],
"automerge": true,
"automergeType": "pr",
"automergeStrategy": "squash",
"platformAutomerge": true
},
{
"description": "GitHub Actions major version bumps need manual review.",
"matchManagers": ["github-actions"],
"matchUpdateTypes": ["major"],
"automerge": false,
"labels": ["dependencies", "major-upgrade", "needs-review"]
}
]
}