-
Notifications
You must be signed in to change notification settings - Fork 2
/
renovate.json5
62 lines (62 loc) · 1.96 KB
/
renovate.json5
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
{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
extends: [
"config:recommended",
":semanticCommits",
":semanticCommitTypeAll(fix)",
":enableVulnerabilityAlertsWithLabel(security)",
],
packageRules: [
{
description: "Do not create PRs for nodejs/npm engine updates",
matchPackageNames: ["node", "npm"],
matchDepTypes: ["engines"],
dependencyDashboardApproval: true,
groupName: "npm-engine-versions",
},
{
description: "Group minor/patch updates for all NPM packages except googleapis",
matchDatasources: ["npm"],
matchUpdateTypes: ["minor", "patch"],
groupName: "npm-packages",
matchPackageNames: ["!googleapis", "!npm", "!node"],
},
{
description: "Allow all update types for googleapis",
matchDatasources: ["npm"],
matchPackageNames: ["googleapis"],
groupName: "npm-packages",
},
{
description: "Group for non-googleapis major NPM updates, that does not create PRs",
matchDatasources: ["npm"],
matchUpdateTypes: ["major"],
groupName: "npm-major-packages",
dependencyDashboardApproval: true,
matchPackageNames: ["!googleapis", "!npm", "!node"],
},
{
matchDatasources: ["terraform-module", "terraform-provider"],
groupName: "terraform",
},
{
matchDatasources: ["docker"],
groupName: "docker-containers",
},
],
customManagers: [
{
customType: "regex",
description: "Update _VERSION variables in Dockerfiles, shell scripts",
fileMatch: [
"(^|/|\\.)([Dd]ocker|[Cc]ontainer)file$",
"(^|/)([Dd]ocker|[Cc]ontainer)file[^/]*$",
"(^|/)*.sh",
],
matchStrings: [
'# renovate: datasource=(?<datasource>[a-z-]+?)(?: depName=(?<depName>.+?))? packageName=(?<packageName>.+?)(?: versioning=(?<versioning>[a-z-]+?))?\\s(?:ENV|ARG)?\\s*.+?_VERSION="?(?<currentValue>.+?)"?\\s',
],
},
],
rangeStrategy: "bump",
}