diff --git a/renovate.json b/renovate.json deleted file mode 100644 index ffb6c07..0000000 --- a/renovate.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": [ - "config:recommended" - ], - "labels": ["deps"], - "rebaseWhen": "behind-base-branch", - "prConcurrentLimit": 1, - "packageRules": [ - { - "matchUpdateTypes": ["minor", "patch", "pin", "digest"], - "automerge": true - }, - { - "matchPackagePatterns": [ - "org.jetbrains.kotlin.*" - ], - "groupName": "kotlin", - }, - { - "matchPackagePatterns": [ - "androidx.compose.compiler:compiler", - ], - "groupName": "kotlin", - }, - { - "matchPackagePatterns": [ - "com.google.devtools.ksp" - ], - "groupName": "kotlin", - }, - { - "matchPackagePrefixes": [ - "githubstarviewer" - ], - "enabled": false - }, - { - "matchPackagePrefixes": [ - "com.android.tools.build", - "gradle", - ], - "enabled": false - }, - ] -} diff --git a/renovate.json5 b/renovate.json5 new file mode 100644 index 0000000..71992cd --- /dev/null +++ b/renovate.json5 @@ -0,0 +1,51 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:recommended" + ], + "labels": [ + "deps" + ], + "rebaseWhen": "behind-base-branch", + // 無駄なCI実行を抑制するために1件ずつRPを作る + "prConcurrentLimit": 1, + "packageRules": [ + // メジャーアップデート以外は自動マージでヨシ + { + "matchUpdateTypes": [ + "minor", + "patch", + "pin", + "digest" + ], + "automerge": true + }, + { + "matchFileNames": [ + ".github/**" + ], + "groupName": "actions", + }, + { + "matchFileNames": [ + "gradle/libs.versions.toml" + ], + "groupName": "dependencies", + }, + // Convention Plugin は無視 + { + "matchPackagePrefixes": [ + "githubstarviewer" + ], + "enabled": false + }, + // AGPは手動でアップデートします + { + "matchPackagePrefixes": [ + "com.android.tools.build", + "gradle", + ], + "enabled": false + }, + ] +}