-
-
Notifications
You must be signed in to change notification settings - Fork 656
/
Copy pathrenovate.json
76 lines (76 loc) · 1.72 KB
/
renovate.json
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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
":semanticCommits",
":semanticCommitTypeAll(chore)"
],
"labels": [
"dependencies"
],
"reviewersFromCodeOwners": true,
"enabledManagers": [
"gomod",
"github-actions",
"dockerfile",
"custom.regex"
],
"customManagers": [
{
"customType": "regex",
"fileMatch": [
"^GO_VERSION$"
],
"depTypeTemplate": "language",
"matchStrings": [
"^(?<currentValue>[0-9.]+)"
],
"extractVersionTemplate": "^(?<version>.+)-linux-amd64$",
"depNameTemplate": "docker.io/gotify/build",
"autoReplaceStringTemplate": "{{{newValue}}}",
"datasourceTemplate": "docker",
"versioningTemplate": "docker"
},
{
"customType": "regex",
"fileMatch": [
"^go.mod$"
],
"depTypeTemplate": "language",
"matchStrings": [
"toolchain go(?<currentValue>[0-9.]+)\\n"
],
"extractVersionTemplate": "^(?<version>.+)-linux-amd64$",
"depNameTemplate": "docker.io/gotify/build",
"autoReplaceStringTemplate": "toolchain go{{{newValue}}}\n",
"datasourceTemplate": "docker",
"versioningTemplate": "docker"
}
],
"ignoreDeps": [
"go"
],
"packageRules": [
{
"matchManagers": [
"gomod"
],
"matchUpdateTypes": [
"minor",
"patch"
],
"groupName": "Bump Go dependencies",
"groupSlug": "bump-dependencies-go"
},
{
"matchDepNames": [
"github.com/gotify/build"
],
"groupName": "Bump gotify/build",
"groupSlug": "bump-gotify-build"
}
],
"postUpdateOptions": [
"gomodTidy"
]
}