-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathrenovate.json5
101 lines (101 loc) · 2.63 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
{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
extends: [
":preserveSemverRanges",
":semanticCommitsDisabled",
":separateMajorReleases",
"config:recommended",
"helpers:pinGitHubActionDigests",
],
commitMessagePrefix: "deps:",
commitMessageAction: "update",
prConcurrentLimit: 1,
addLabels: [ "dependencies" ],
postUpdateOptions: [
"gomodTidy",
"gomodUpdateImportPaths",
],
nix: { enabled: true },
npm: { enabled: true },
lockFileMaintenance: {
enabled: true,
schedule: [ "before 4am" ],
},
packageRules: [
{
// Group lockfile maintenance updates by manager.
// https://github.com/renovatebot/renovate/discussions/28068
matchUpdateTypes: [ "lockFileMaintenance" ],
additionalBranchPrefix: "{{manager}}-",
commitMessageAction: "update",
commitMessageExtra: "{{manager}} lock file",
},
{
// Enable update of indirect Go dependencies.
// This rule should not be confused with the grouping of
// indirect Go dependencies further down.
matchManagers: [ "gomod" ],
matchDepTypes: [ "indirect" ],
enabled: true,
},
{
// Group update of indirect Go dependencies.
groupName: "Go indirect dependencies",
matchManagers: [ "gomod" ],
matchDepTypes: [ "indirect" ],
dependencyDashboardApproval: true,
prPriority: -30, // Lower priority, higher risk of causing breakage.
},
{
// Group update of direct Go dependencies.
groupName: "Go dependencies",
matchManagers: [ "gomod" ],
matchDepTypes: [ "require" ],
matchUpdateTypes: [
"bump",
"digest",
"lockFileMaintenance",
"minor",
"patch",
"pin",
"pinDigest",
"rollback",
],
},
{
// Group update of GitHub actions dependencies.
matchManagers: [ "github-actions" ],
groupName: "GitHub action dependencies",
matchUpdateTypes: [
"bump",
"digest",
"lockFileMaintenance",
"minor",
"patch",
"pin",
"pinDigest",
"rollback",
],
},
{
// Group update of Terraform dependencies.
groupName: "Terraform dependencies",
matchManagers: [ "terraform" ],
matchUpdateTypes: [
"bump",
"digest",
"lockFileMaintenance",
"minor",
"patch",
"pin",
"pinDigest",
"rollback",
],
},
{
// Disable updating of locally-replaced dependencies.
matchPackageNames: [ "github.com/edgelesssys/contrast/node-installer" ],
enabled: false,
},
],
}