-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
renovate.json5
47 lines (47 loc) · 1.5 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
{
$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",
},
// 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: ["dep"],
},
assignees: ["@ronnnnn"],
assigneesSampleSize: 1,
// https://docs.renovatebot.com/modules/manager/regex/
customManagers: [
{
customType: "regex",
fileMatch: ["^melos.yaml$"],
matchStrings: [
// https://semver.org/spec/v2.0.0.html
"(?:dart|flutter) 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",
// https://docs.renovatebot.com/modules/manager/pub/
versioningTemplate: "npm",
},
],
}