From e515778740a04f3ed8fb2ff246a49ee41fb573fc Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 21 Jan 2025 15:23:01 +0000 Subject: [PATCH] Migrate config renovate.json5 --- renovate.json5 | 59 +++++++++++++++----------------------------------- 1 file changed, 18 insertions(+), 41 deletions(-) diff --git a/renovate.json5 b/renovate.json5 index f57ed960..8548f231 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -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"], + }, + }, + ], }