-
Notifications
You must be signed in to change notification settings - Fork 426
Expand file tree
/
Copy pathrenovate.json5
More file actions
54 lines (54 loc) · 1.27 KB
/
renovate.json5
File metadata and controls
54 lines (54 loc) · 1.27 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
{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
extends: [
"config:recommended",
"helpers:pinGitHubActionDigestsToSemver"
],
timezone: "Asia/Tokyo",
automerge: true,
platformAutomerge: true,
"git-submodules": {
enabled: true,
},
labels: [
"dependency upgrade"
],
minimumReleaseAge : "7 days",
// To prevent libraries in optionalDependencies from being removed from the lock file
constraints: {
npm: "11.6.0"
},
packageRules: [
{
labels: [
"dependency upgrade",
"line-openapi-update"
],
// In many cases, we would like to update line-openapi by dispatching the GitHub workflow during working
// hours, as there are code changes.
// If that is forgotten, there's a possibility that line-openapi updates or code changes won't happen at
// all, so we allow it to run at night just in case.
schedule: [
"after 11pm",
"before 4am"
],
matchPackageNames: [
"/line-openapi/"
],
},
{
matchFileNames: [
"examples/*"
],
postUpgradeTasks: {
commands: [
"npm install"
],
fileFilters: [
"package.json",
"package-lock.json"
],
},
},
],
}