-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrenovate.json5
52 lines (52 loc) · 1.55 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
{
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
extends: [
// https://docs.renovatebot.com/presets-config/#configbest-practices
'config:best-practices',
':semanticCommits',
':semanticCommitTypeAll(upgrade)',
':semanticCommitScopeDisabled',
'schedule:daily',
],
timezone: 'Asia/Tokyo',
labels: ['dep'],
branchPrefix: 'upgrade-renovate-',
major: {
minimumReleaseAge: '5 days',
},
minor: {
minimumReleaseAge: '3 days',
},
patch: {
minimumReleaseAge: '2 days',
},
assignees: ['@ronnnnn'],
assigneesSampleSize: 1,
// https://docs.renovatebot.com/configuration-options/#configmigration
// https://github.com/renovatebot/renovate/issues/16359
configMigration: false,
// https://docs.renovatebot.com/configuration-options/#vulnerabilityalerts
vulnerabilityAlerts: {
enabled: true,
labels: ['A-dependencies', 'A-security'],
},
customManagers: [
{
customType: 'regex',
fileMatch: ['^melos.yaml$'],
matchStrings: [
// https://semver.org/spec/v2.0.0.html
'dart pub global activate (?<depName>\\w+) (?<currentValue>(?:0|[1-9]\\d*)\\.(?:0|[1-9]\\d*)\\.(?:0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+(?:[0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)',
],
datasourceTemplate: 'dart',
// same versioning as dart datasource
versioningTemplate: 'npm',
},
],
packageRules: [
{
groupName: 'custom_lint',
matchPackageNames: ['/^custom_lint/'],
},
],
}