-
Notifications
You must be signed in to change notification settings - Fork 0
/
renovate.json5
137 lines (133 loc) · 4.28 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
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
{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
extends: [
"config:recommended",
":semanticCommitType(build)",
":semanticCommitTypeAll(build)",
"docker:pinDigests",
"group:allNonMajor",
"helpers:pinGitHubActionDigests"
],
username: "aki-bot[bot]",
gitAuthor: "aki-bot <103840025+aki-bot[bot]@users.noreply.github.com>",
platform: "github",
repositories: ["akikanellis/homelab"],
branchPrefix: "update-dependencies-",
onboarding: false,
requireConfig: "required",
automerge: true,
schedule: ["after 3:00 and before 6:00 on Saturday"],
regexManagers: [
{
description: "Any other file with dependencies",
fileMatch: [
/* eslint-disable jsonc/no-useless-escape */
"(^|/)justfile$",
"(^workflow-templates|\.github/workflows)/[^/]+\.ya?ml$",
"(^|/)action\.ya?ml$",
"^ansible/.*vars/[^/]+\.ya?ml$"
/* eslint-enable jsonc/no-useless-escape */
],
matchStrings: [
"\
.*renovate:\
\\sdatasource=(?<datasource>.*?)\
\\sdepName=(?<depName>.*?)\
(\\sversioning=(?<versioning>.*?))?\
\n.*(version|Version|VERSION)\\s*(:=|=|:)\\s*\"?(?<currentValue>.*?)\
(@(?<currentDigest>sha256:[a-f0-9]+))?\"?\
(\\s+|\\s+.*)"
],
versioningTemplate: "\
{{#if versioning}}\
{{{versioning}}}\
{{else}}\
semver-coerced\
{{/if}}"
}
],
packageRules: [
{
description: "Block automerge for major updates",
matchUpdateTypes: ["major"],
automerge: false
},
{
description: "Group Docker digest updates",
groupName: "all Docker digest dependencies",
groupSlug: "all-docker-digest",
matchDatasources: ["docker"],
matchUpdateTypes: ["digest"]
},
{
description: "Limit semantic-release versions to 21.x.x.\
Version 22.x.x is currently not compatible with\
gradle-semantic-release-plugin",
matchDatasources: ["npm"],
matchPackageNames: ["semantic-release"],
allowedVersions: "<= 21"
},
{
description: "Limit conventional-changelog-conventionalcommits versions\
to 6.x.x. Version 7.x.x is currently only compatible with\
semantic-release >= 22",
matchDatasources: ["npm"],
matchPackageNames: ["conventional-changelog-conventionalcommits"],
allowedVersions: "<= 6"
},
{
description: "Use correct compatibility for github/super-linter",
matchDatasources: ["docker"],
matchPackageNames: ["github/super-linter"],
versioning: "\
regex:\
^((?<compatibility>.+)-)?\
v?\
(?<major>\\d+)\
(\\.(?<minor>\\d+))?\
(\\.(?<patch>\\d+))?$"
},
{
description: "Limit lscr.io/linuxserver/heimdall versions to 2020.x.x.\
There is a single 2021.x.x version which interferes with the normal\
versions it exposes causing older versions being pulled in as if they are\
newer",
matchDatasources: ["docker"],
matchPackageNames: ["lscr.io/linuxserver/heimdall"],
allowedVersions: "<= 2020"
},
{
description: "Limit lscr.io/linuxserver/qbittorrent versions to 13.x.x.\
The versioning changed from version 14.x.x - 20.x.x causing older\
versions being pulled in as if they are newer",
matchDatasources: ["docker"],
matchPackageNames: ["lscr.io/linuxserver/qbittorrent"],
allowedVersions: "<= 13"
},
{
description: "Limit mongo versions to 4.x.x.\
Version 5.0.0 introduced a minimum architecture which makes it\
incompatible with the current architecture of `server-nas`\
See:\
https://www.mongodb.com/docs/manual/release-notes/5.0/#platform-support",
matchDatasources: ["docker"],
matchPackageNames: ["mongo"],
allowedVersions: "<= 4"
},
{
description: "Limit graylog versions to 4.x.x.\
Version 5.0.0 introduced a minimum MongoDB version of 5.x.x which makes\
it incompatible with the current mongo limitation\
See:\
- https://go2docs.graylog.org/5-0/changelogs/changelog.html\
- https://github.com/Graylog2/graylog2-server/issues/13660",
matchDatasources: ["docker"],
matchPackageNames: ["graylog/graylog"],
allowedVersions: "<= 4"
}
],
"docker-compose": {
// eslint-disable-next-line jsonc/no-useless-escape
fileMatch: ["(^|/)(?:docker-)?compose[^/]*\.ya?ml\.j2$"]
}
}