diff --git a/renovate.json5 b/renovate.json5 index 61a1e588..c22055dd 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -1,35 +1,35 @@ - { - "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": [ - "config:recommended", - "helpers:pinGitHubActionDigestsToSemver" - ], - "timezone": "Asia/Tokyo", - "automerge": true, - "platformAutomerge": true, - "git-submodules": { - "enabled": true +{ + $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', + ], + 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/', + ], }, - "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" - ] - }, - ] - } + ], +}