Skip to content

Commit c3d6b09

Browse files
Migrate renovate config (#1205)
Renovate's auto migrator removes comments and disrupts the format. In this change, I have tried to preserve the original file as much as possible. Close #1204 --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 3b7849d commit c3d6b09

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

renovate.json5

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,49 @@
11
{
2-
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3-
"extends": [
2+
$schema: "https://docs.renovatebot.com/renovate-schema.json",
3+
extends: [
44
"config:recommended",
55
"helpers:pinGitHubActionDigestsToSemver"
66
],
7-
"timezone": "Asia/Tokyo",
8-
"automerge": true,
9-
"platformAutomerge": true,
7+
timezone: "Asia/Tokyo",
8+
automerge: true,
9+
platformAutomerge: true,
1010
"git-submodules": {
11-
"enabled": true
11+
enabled: true,
1212
},
13-
"labels": [
13+
labels: [
1414
"dependency upgrade"
1515
],
16-
"packageRules": [
16+
packageRules: [
1717
{
18-
"matchPackagePatterns": [
19-
"line-openapi"
20-
],
21-
"labels": [
18+
labels: [
2219
"dependency upgrade",
2320
"line-openapi-update"
2421
],
2522
// In many cases, we would like to update line-openapi by dispatching the GitHub workflow during working
2623
// hours, as there are code changes.
2724
// If that is forgotten, there's a possibility that line-openapi updates or code changes won't happen at
2825
// all, so we allow it to run at night just in case.
29-
"schedule": [
26+
schedule: [
3027
"after 11pm",
3128
"before 4am"
32-
]
29+
],
30+
matchPackageNames: [
31+
"/line-openapi/"
32+
],
3333
},
3434
{
35-
"matchPaths": [
35+
matchFileNames: [
3636
"examples/*"
3737
],
38-
"postUpgradeTasks": {
39-
"commands": [
38+
postUpgradeTasks: {
39+
commands: [
4040
"npm install"
4141
],
42-
"fileFilters": [
42+
fileFilters: [
4343
"package.json",
4444
"package-lock.json"
45-
]
46-
}
47-
}
48-
]
45+
],
46+
},
47+
},
48+
],
4949
}

0 commit comments

Comments
 (0)