-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Expand file tree
/
Copy pathrenovate.json
More file actions
136 lines (136 loc) · 4.46 KB
/
Copy pathrenovate.json
File metadata and controls
136 lines (136 loc) · 4.46 KB
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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["github>renovatebot/.github"],
"assignees": ["viceice", "secustor", "jamietanna"],
"reviewers": ["@renovatebot/maintainers"],
"semanticCommitScope": "deps",
"automergeType": "pr",
"prCreation": "immediate",
"ignorePresets": [":ignoreModulesAndTests"],
"ignorePaths": ["**/node_modules/**", "**/__fixtures__/**", "test/**"],
"rebaseWhen": "conflicted",
"baseBranchPatterns": ["$default", "/^disable-next$/"],
"dockerfile": {
"semanticCommitType": "build"
},
"packageRules": [
{
"matchPackageNames": ["containerbase/node"],
"versioning": "node"
},
{
"matchDepTypes": ["dependencies", "optionalDependencies"],
"semanticCommitType": "build"
},
{
"matchPackageNames": ["semantic-release"],
"semanticCommitType": "build"
},
{
"matchPackageNames": ["@types/jest"],
"groupName": "jest monorepo"
},
{
"matchFileNames": ["**/__fixtures__/**"],
"enabled": false
},
{
"description": "set fix scope for base image",
"matchPackageNames": ["ghcr.io/renovatebot/base-image"],
"semanticCommitType": "fix"
},
{
"description": "set feat scope for base image major and minor",
"matchPackageNames": ["ghcr.io/renovatebot/base-image"],
"matchUpdateTypes": ["major", "minor"],
"semanticCommitType": "feat"
},
{
"description": "use `feat` semantic commit scope with breaking change for for base image major",
"matchPackageNames": ["ghcr.io/renovatebot/base-image"],
"matchUpdateTypes": ["major"],
"commitMessagePrefix": "feat(deps)!:"
},
{
"description": "allow prereleases for base image on next branch",
"matchPackageNames": ["ghcr.io/renovatebot/base-image"],
"matchBaseBranches": ["next"],
"ignoreUnstable": false
},
{
"description": "set build scope for node updates",
"matchDepNames": ["node"],
"matchFileNames": [".nvmrc", "tools/docker/Dockerfile"],
"semanticCommitType": "build"
},
{
"description": "set branch prefix for node major updates to split from minor updates",
"matchPackageNames": ["node", "containerbase/node-prebuild"],
"matchUpdateTypes": ["major"],
"additionalBranchPrefix": "major"
},
{
"description": "disable some invalid deps from docs",
"matchPackageNames": ["my.old.registry/**", "my.new.registry/**"],
"matchFileNames": ["docs/**/*.md"],
"enabled": false
},
{
"description": "require approval on next branch",
"matchPackageNames": ["*"],
"matchBaseBranches": ["next"],
"dependencyDashboardApproval": true
},
{
"description": "require approval on next branch lockfile maintenance",
"matchBaseBranches": ["next"],
"matchUpdateTypes": ["lockFileMaintenance"],
"dependencyDashboardApproval": true
},
{
"description": "Mark major version bumps with the breaking label",
"matchUpdateTypes": ["major"],
"addLabels": ["breaking"]
},
{
"description": "Multiple major updates for got",
"matchDatasources": ["npm"],
"matchDepNames": ["got"],
"separateMultipleMajor": true
},
{
"description": "Zizmor's GitHub Action doesn't immediately support the latest Zizmor container image until there's an explicit update",
"groupName": "zizmor",
"matchPackageNames": [
"ghcr.io/zizmorcore/zizmor",
"zizmorcore/zizmor-action"
],
"minimumGroupSize": 2
},
{
"description": "Only update the major version constraint for Erlang",
"matchFileNames": ["lib/modules/manager/mix/artifacts.ts"],
"matchPackageNames": ["containerbase/erlang-prebuild"],
"extractVersion": "^(?<version>\\d+)",
"separateMultipleMajor": true
}
],
"customManagers": [
{
"customType": "regex",
"managerFilePatterns": ["lib/config/options/index.ts"],
"matchStrings": [
"default: '(?<depName>ghcr.io/renovatebot/base-image):(?<currentValue>.*)'"
],
"datasourceTemplate": "docker"
},
{
"customType": "regex",
"managerFilePatterns": ["lib/modules/manager/mix/artifacts.ts"],
"matchStrings": ["const erlangVersion = '(?<currentValue>[\\^0-9]*)'"],
"datasourceTemplate": "github-releases",
"packageNameTemplate": "containerbase/erlang-prebuild",
"versioningTemplate": "loose"
}
]
}