-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathrenovate.json
More file actions
173 lines (160 loc) · 5.83 KB
/
renovate.json
File metadata and controls
173 lines (160 loc) · 5.83 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
// NOTE: config migration PRs might simply be removing whitespace and comments.
// If that's the case, the PR can stay open, and it should be rebased by renovate
// until there actual changes in renovate's config options. Alternatively, if it
// also introduces proper changes, you should manually make the same changes and
// let renovate rebase its branch: the result is that renovate will close the PR
// on its own and not stop the config migration progress in the future.
// For more information:
// https://github.com/renovatebot/renovate/issues/16359#issuecomment-2888473403
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": "Renovate configuration for Edgehog Device Manager",
"extends": [
"config:recommended",
":gitSignOff",
":rebaseStalePrs",
":semanticCommits",
"helpers:pinGitHubActionDigests"
],
"configMigration": true,
"prCreation": "not-pending",
"rebaseWhen": "behind-base-branch",
"platformAutomerge": true,
"automergeType": "branch",
"rangeStrategy": "bump",
"internalChecksFilter": "strict",
"timezone": "UTC",
"labels": ["renovate"],
"separateMajorMinor": true,
"separateMinorPatch": false,
"prConcurrentLimit": 5,
"prHourlyLimit": 0,
"commitBodyTable": true,
"reviewers": ["team:cloud-devs"],
"reviewersFromCodeOwners": true,
"reviewersSampleSize": 2,
"vulnerabilityAlerts": {
"enabled": true,
"addLabels": ["security"]
},
"lockFileMaintenance": {
"enabled": true,
"schedule": ["before 9am on the first day of the month"]
},
"packageRules": [
{
"matchUpdateTypes": ["minor", "patch", "pin", "digest"],
"matchCurrentVersion": "!/^0/",
"automerge": true
},
// backend: chore(deps) is the default
{
"description": "Semantic commit prefix for frontend: chore(deps)",
"matchManagers": ["npm"],
"semanticCommitType": "chore"
},
{
"description": "Semantic commit prefix for GitHub Actions: ci(deps)",
"matchManagers": ["github-actions"],
"semanticCommitType": "ci"
},
{
"description": "Semantic commit prefix for Docker and tools: build(deps)",
"matchManagers": ["dockerfile", "docker-compose", "asdf"],
"semanticCommitType": "build"
},
{
"description": "Group all Elixir dependencies (non-major)",
"matchManagers": ["mix"],
"matchUpdateTypes": ["patch", "minor"],
"groupName": "backend dependencies (non-major)",
"minimumReleaseAge": "3 days",
"reviewers": ["cloud-backend-devs"],
"automerge": true,
"addLabels": ["dependencies", "elixir", "automerge"],
"schedule": ["before 9am on the first day of the month"]
},
{
"description": "Group all Elixir dependencies major updates",
"matchManagers": ["mix"],
"matchUpdateTypes": ["major"],
"groupName": "backend dependencies",
"reviewers": ["cloud-backend-devs"],
"dependencyDashboardApproval": true,
"addLabels": ["dependencies", "elixir", "major"]
},
{
"description": "Group all npm dependencies (non-major)",
"matchManagers": ["npm"],
"matchUpdateTypes": ["patch", "minor"],
"groupName": "frontend dependencies (non-major)",
"minimumReleaseAge": "3 days",
"reviewers": ["cloud-frontend-devs"],
"automerge": true,
"addLabels": ["dependencies", "javascript", "automerge"],
"schedule": ["before 9am on the first day of the month"]
},
{
"description": "Group all npm dependencies major updates",
"matchManagers": ["npm"],
"matchUpdateTypes": ["major"],
"groupName": "frontend dependencies",
"reviewers": ["cloud-frontend-devs"],
"dependencyDashboardApproval": true,
"addLabels": ["dependencies", "javascript", "major"]
},
{
"description": "Automerge GitHub Actions (non-major)",
"matchManagers": ["github-actions"],
"matchUpdateTypes": ["patch", "minor", "digest"],
"groupName": "GitHub Actions (non-major)",
"automerge": true,
"addLabels": ["dependencies", "github-actions", "automerge"],
"schedule": ["before 9am on the first day of the month"]
},
{
"description": "GitHub Actions major updates require approval",
"matchManagers": ["github-actions"],
"matchUpdateTypes": ["major"],
"groupName": "GitHub Actions (major)",
"dependencyDashboardApproval": true,
"addLabels": ["dependencies", "github-actions", "major"]
},
{
"description": "Docker dependencies (non-major)",
"matchManagers": ["dockerfile", "docker-compose"],
"matchUpdateTypes": ["patch", "minor", "digest"],
"groupName": "Docker dependencies (non-major)",
"minimumReleaseAge": "3 days",
"automerge": true,
"addLabels": ["dependencies", "docker", "automerge"],
"schedule": ["before 9am on the first day of the month"]
},
{
"description": "Docker dependencies major updates require approval",
"matchManagers": ["dockerfile", "docker-compose"],
"matchUpdateTypes": ["major"],
"groupName": "Docker dependencies",
"dependencyDashboardApproval": true,
"addLabels": ["dependencies", "docker", "major"]
},
{
"description": "Group all the tools releases (non-major)",
"matchManagers": ["asdf"],
"matchUpdateTypes": ["patch", "minor"],
"groupName": "tools releases (non-major)",
"minimumReleaseAge": "3 days",
"automerge": true,
"addLabels": ["dependencies", "tools", "automerge"],
"schedule": ["before 9am on the first day of the month"]
},
{
"description": "Group all the tools major releases",
"matchManagers": ["asdf"],
"groupName": "tools releases (major)",
"matchUpdateTypes": ["major"],
"dependencyDashboardApproval": true,
"addLabels": ["dependencies", "tools", "automerge"]
}
]
}