diff --git a/renovate.json5 b/renovate.json5 index fd5076fb..ebe84ead 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -1,51 +1,27 @@ { $schema: "https://docs.renovatebot.com/renovate-schema.json", - extends: [ - "config:recommended", - "helpers:pinGitHubActionDigestsToSemver" - ], + extends: ["config:recommended", "helpers:pinGitHubActionDigestsToSemver"], timezone: "Asia/Tokyo", automerge: true, platformAutomerge: true, "git-submodules": { enabled: true, }, - labels: [ - "dependency upgrade" - ], + labels: ["dependency upgrade"], lockFileMaintenance: { enabled: true, - schedule: [ - "after 1am and before 4am every day" - ], + schedule: ["after 1am and before 4am"], }, - minimumReleaseAge : "7 days", - // Override the default ignorePaths to let Renovate manage dependencies under examples/. - ignorePaths: [ - "**/node_modules/**", - "**/test/**" - ], - // To prevent libraries in optionalDependencies from being removed from the lock file + minimumReleaseAge: "7 days", + ignorePaths: ["**/node_modules/**", "**/test/**"], constraints: { - npm: "11.17.0" + npm: "11.17.0", }, 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", "line-openapi-update"], + schedule: ["after 11pm", "before 4am"], + matchPackageNames: ["/line-openapi/"], }, ], }