forked from containerbase/base
-
Notifications
You must be signed in to change notification settings - Fork 0
/
renovate.json
107 lines (107 loc) · 3.09 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
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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["github>containerbase/.github"],
"ignorePaths": ["**/node_modules/**", "test/*/test/**"],
"enabledManagers": ["npm", "dockerfile", "github-actions", "regex"],
"separateMultipleMajor": false,
"separateMajorMinor": true,
"packageRules": [
{
"description": "Don't hold back any PRs for approval",
"matchPackagePatterns": ["*"],
"dependencyDashboardApproval": false
},
{
"description": "Hold back npm major updates in root package.json",
"matchUpdateTypes": ["major"],
"matchFiles": ["package.json"],
"dependencyDashboardApproval": true
},
{
"description": "Disable all managers in test/ by default",
"matchPaths": ["test/**"],
"enabled": false
},
{
"description": "Enable the regex manager only for test/",
"matchPaths": ["test/**"],
"matchManagers": ["regex"],
"enabled": true
},
{
"description": "Separate patch updates in test/ so that we can automerge them",
"matchPaths": ["test/**"],
"automergeType": "branch",
"separateMinorPatch": true
},
{
"description": "Don't automerge test minor/major because we might want to retain old versions in tests too",
"matchPaths": ["test/**"],
"matchUpdateTypes": ["minor", "major"],
"automerge": false
},
{
"description": "Automerge test selected minor updates in tests",
"matchPaths": ["test/**"],
"matchPackageNames": [
"bundler",
"docker",
"dotnet",
"git",
"helm",
"helmfile",
"npm",
"pipenv",
"poetry",
"pnpm",
"rust",
"swift"
],
"matchUpdateTypes": ["minor"],
"automerge": true
},
{
"description": "Trigger fix release for git updates",
"matchPackageNames": ["git"],
"semanticCommitType": "fix",
"stabilityDays": 5
},
{
"description": "Trigger fix release for ubuntu digest updates",
"matchPackageNames": ["ubuntu"],
"matchUpdateTypes": ["digest"],
"semanticCommitType": "fix"
},
{
"description": "Use `build` semantic commit scope for build deps",
"matchDepNames": [
"commander",
"conventional-changelog-conventionalcommits",
"node",
"semantic-release",
"@semantic-release/exec",
"shelljs"
],
"semanticCommitType": "build"
},
{
"description": "Use `test` semantic commit scope and additionalBranchPrefix for test/",
"matchPaths": ["test/**"],
"additionalBranchPrefix": "test-",
"semanticCommitType": "test"
},
{
"description": "Use `test-major-` additionalBranchPrefix for test/ major updates",
"matchPaths": ["test/**"],
"matchUpdateTypes": ["major"],
"additionalBranchPrefix": "test-major-"
},
{
"description": "Update renovate only weekly",
"matchPackageNames": ["renovate"],
"extends": ["schedule:weekly"],
"automerge": true,
"separateMinorPatch": false
}
]
}