Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate renovate config #1142

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 18 additions & 41 deletions renovate.json5
Original file line number Diff line number Diff line change
@@ -1,48 +1,25 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
],
"timezone": "Asia/Tokyo",
"automerge": true,
"platformAutomerge": true,
$schema: "https://docs.renovatebot.com/renovate-schema.json",
extends: ["config:recommended"],
timezone: "Asia/Tokyo",
automerge: true,
platformAutomerge: true,
"git-submodules": {
"enabled": true
enabled: true,
},
"labels": [
"dependency upgrade"
],
"packageRules": [
labels: ["dependency upgrade"],
packageRules: [
{
"matchPackagePatterns": [
"line-openapi"
],
"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"
]
labels: ["dependency upgrade", "line-openapi-update"],
schedule: ["after 11pm", "before 4am"],
matchPackageNames: ["/line-openapi/"],
},
{
"matchPaths": [
"examples/*"
],
"postUpgradeTasks": {
"commands": [
"npm install"
],
"fileFilters": [
"package.json",
"package-lock.json"
]
}
}
]
matchFileNames: ["examples/*"],
postUpgradeTasks: {
commands: ["npm install"],
fileFilters: ["package.json", "package-lock.json"],
},
},
],
}
Loading