-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrenovate.json5
50 lines (50 loc) · 1.45 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
{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
extends: [
"config:recommended",
":semanticCommits",
":semanticCommitTypeAll(fix)",
":enableVulnerabilityAlertsWithLabel(SECURITY)",
],
npm: {
minimumReleaseAge: "3 days",
},
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',
],
},
],
packageRules: [
{
description: "Do not create PRs for nodejs/npm engine updates",
matchPackageNames: ["node", "npm"],
matchDepTypes: ["engines"],
dependencyDashboardApproval: true,
groupName: "npm-engine-versions",
},
{
description: "Group updates for all NPM packages",
matchDatasources: ["npm"],
groupName: "npm-packages",
matchPackageNames: ["!npm", "!node"],
},
{
matchDatasources: ["terraform-module", "terraform-provider"],
groupName: "terraform",
},
{
matchDatasources: ["docker"],
groupName: "docker-containers",
},
],
rangeStrategy: "bump",
}