Skip to content

Commit 5f17db4

Browse files
Migrate config renovate.json5
1 parent 3b7849d commit 5f17db4

File tree

1 file changed

+18
-42
lines changed

1 file changed

+18
-42
lines changed

renovate.json5

Lines changed: 18 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,25 @@
11
{
2-
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3-
"extends": [
4-
"config:recommended",
5-
"helpers:pinGitHubActionDigestsToSemver"
6-
],
7-
"timezone": "Asia/Tokyo",
8-
"automerge": true,
9-
"platformAutomerge": true,
2+
$schema: "https://docs.renovatebot.com/renovate-schema.json",
3+
extends: ["config:recommended", "helpers:pinGitHubActionDigestsToSemver"],
4+
timezone: "Asia/Tokyo",
5+
automerge: true,
6+
platformAutomerge: true,
107
"git-submodules": {
11-
"enabled": true
8+
enabled: true,
129
},
13-
"labels": [
14-
"dependency upgrade"
15-
],
16-
"packageRules": [
10+
labels: ["dependency upgrade"],
11+
packageRules: [
1712
{
18-
"matchPackagePatterns": [
19-
"line-openapi"
20-
],
21-
"labels": [
22-
"dependency upgrade",
23-
"line-openapi-update"
24-
],
25-
// In many cases, we would like to update line-openapi by dispatching the GitHub workflow during working
26-
// hours, as there are code changes.
27-
// If that is forgotten, there's a possibility that line-openapi updates or code changes won't happen at
28-
// all, so we allow it to run at night just in case.
29-
"schedule": [
30-
"after 11pm",
31-
"before 4am"
32-
]
13+
labels: ["dependency upgrade", "line-openapi-update"],
14+
schedule: ["after 11pm", "before 4am"],
15+
matchPackageNames: ["/line-openapi/"],
3316
},
3417
{
35-
"matchPaths": [
36-
"examples/*"
37-
],
38-
"postUpgradeTasks": {
39-
"commands": [
40-
"npm install"
41-
],
42-
"fileFilters": [
43-
"package.json",
44-
"package-lock.json"
45-
]
46-
}
47-
}
48-
]
18+
matchFileNames: ["examples/*"],
19+
postUpgradeTasks: {
20+
commands: ["npm install"],
21+
fileFilters: ["package.json", "package-lock.json"],
22+
},
23+
},
24+
],
4925
}

0 commit comments

Comments
 (0)