diff --git a/renovate.json b/renovate.json deleted file mode 100644 index 7dac1bf1a..000000000 --- a/renovate.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": [ - "config:base" - ], - "automerge": true, - "platformAutomerge": true, - "git-submodules": { - "enabled": true - }, - "labels": [ "dependency upgrade" ], - "packageRules": [ - { - "matchPackagePatterns": ["^line-openapi$"], - "labels": ["dependency upgrade", "line-openapi-update"] - } - ] -} diff --git a/renovate.json5 b/renovate.json5 new file mode 100644 index 000000000..b48b181bc --- /dev/null +++ b/renovate.json5 @@ -0,0 +1,24 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:base" + ], + "timezone": "Asia/Tokyo", + "automerge": true, + "platformAutomerge": true, + "git-submodules": { + "enabled": true + }, + "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 and before 4am"] + } + ] +}