-
Notifications
You must be signed in to change notification settings - Fork 6
/
renovate.json5
57 lines (57 loc) · 1.8 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
{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
extends: [
"config:best-practices",
":gitSignOff",
":semanticCommits",
":semanticCommitTypeAll(chore)",
":prHourlyLimitNone",
":prConcurrentLimitNone",
"schedule:monthly",
],
assigneesFromCodeOwners: true,
separateMajorMinor: true,
customManagers: [
{
customType: "regex",
fileMatch: [".ci/packages/versions.env"],
matchStringsStrategy: "any",
matchStrings: [
"export .*?_VERSION=(?<currentValue>.*) # (?<datasource>.*?)/(?<depName>.*?)(\\&versioning=(?<versioning>.*?))?\\s",
],
},
],
packageRules: [
// NOTE: Renovate will evaluate all packageRules and not stop once it gets a first match. Therefore, you should
// order your packageRules in order of importance so that later rules can override settings from earlier rules if
// necessary. If multiple rules match and set the same config option e.g. groupName the last one wins as the later
// rules overwrite the result from the earlier ones.
//
// group-slug is used for the branch name
{
groupName: "all non-major dependencies",
groupSlug: "all-minor-patch",
matchPackageNames: ["*"],
matchUpdateTypes: ["minor", "patch", "digest"],
},
{
// needed to maintain our hugo dependencies
matchManagers: ["gomod"],
matchDepTypes: ["indirect"],
enabled: true,
},
{
groupName: "all custom dependencies",
groupSlug: "all-custom",
matchFileNames: [".ci/packages/versions.env"],
},
{
groupName: "all pages dependencies",
groupSlug: "all-pages",
matchPackageNames: [
"/github.com/google/docsy/", // docsy and hugo must be compatible with each other
"/gohugoio/hugo/",
],
},
],
}