This repository has been archived by the owner on Jul 30, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathrenovate.json5
107 lines (107 loc) · 3.04 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
{
"enabled": true,
"dependencyDashboard": true,
"dependencyDashboardTitle": "Renovate Dashboard",
"assigneesFromCodeOwners": true,
"reviewersFromCodeOwners": true,
"suppressNotifications": ["prIgnoreNotification"],
"prConcurrentLimit": 5,
"helm-values": {
"enabled": true
},
"helmv3": {
"fileMatch": [
"charts/.+/Chart\\.yaml$",
"charts/.+/values\\.yaml$"
]
},
"packageRules": [
// Setup datasources
{
"matchDatasources": ["helm"],
"commitMessageTopic": "Helm chart {{depName}}",
"separateMinorPatch": true
},
// Custom version schemes
{
"matchDatasources": ["github-tags"],
"matchPackageNames": ["potiuk/get-workflow-origin"],
"versioning": "regex:^v(?<major>\\d+)_(?<minor>\\d+)(_(?<patch>\\d+))?$"
},
///
/// Automatically update minor/patch Github Actions
///
{
"matchManagers": ["github-actions"],
"automerge": true,
"automergeType": "branch",
"matchUpdateTypes": ["minor", "patch"]
},
//
// Common library dep
//
{
"matchDatasources": ["helm"],
"commitMessagePrefix": "[{{{parentDir}}}]",
"branchTopic": "{{{parentDir}}}-{{{depNameSanitized}}}-{{{newMajor}}}{{#if isPatch}}.{{{newMinor}}}{{/if}}.x{{#if isLockfileUpdate}}-lockfile{{/if}}",
"updateTypes": ["major"],
"bumpVersion": "major",
"labels": ["type/major"],
"packageNames": ["common"],
"groupName": ["common library major"]
},
{
"matchDatasources": ["helm"],
"updateTypes": ["minor"],
"bumpVersion": "minor",
"labels": ["type/minor"],
"packageNames": ["common"],
"groupName": ["common library minor"]
},
{
"matchDatasources": ["helm"],
"updateTypes": ["patch"],
"bumpVersion": "patch",
"labels": ["type/patch"],
"packageNames": ["common"],
"groupName": ["common library patch"]
},
//
// Other external chart deps
//
{
"matchDatasources": ["helm"],
"commitMessagePrefix": "[{{{parentDir}}}]",
"branchTopic": "{{{parentDir}}}-{{{depNameSanitized}}}-{{{newMajor}}}{{#if isPatch}}.{{{newMinor}}}{{/if}}.x{{#if isLockfileUpdate}}-lockfile{{/if}}",
"updateTypes": ["major"],
"bumpVersion": "major",
"labels": ["type/major"],
"excludePackageNames": ["common"],
"schedule": [
"every 3 months on the first day of the month"
]
},
{
"matchDatasources": ["helm"],
"updateTypes": ["minor"],
"bumpVersion": "minor",
"labels": ["type/minor"],
"excludePackageNames": ["common"],
"groupName": ["external dependency minor"],
"schedule": [
"every 2 months on the first day of the month"
]
},
{
"matchDatasources": ["helm"],
"updateTypes": ["patch"],
"bumpVersion": "patch",
"labels": ["type/patch"],
"excludePackageNames": ["common"],
"groupName": ["external dependency patch"],
"schedule": [
"every 1 months on the first day of the month"
]
}
]
}