From f41fdee2baf8c6deea380ea655b6032295a35ccd Mon Sep 17 00:00:00 2001 From: Joshua Gleitze Date: Sun, 9 Nov 2025 22:13:25 +0100 Subject: [PATCH] ci: fix renovate commit types --- renovate.json5 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/renovate.json5 b/renovate.json5 index cae3081..62e0af0 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -10,4 +10,18 @@ */ $schema: "https://docs.renovatebot.com/renovate-schema.json", extends: ["github>jGleitz/renovate-config:default.json5"], + packageRules: [ + // renovate doesn’t extract Gradle configurations, and, thus, doesn’t apply the + // fix / chore distinction correctly. See https://github.com/renovatebot/renovate/discussions/27777 + // We set the commit type to ‘chore’ for all dependencies to avoid wrong ‘fix’ PRs. Then we + // hand-select the production dependencies that should actually bump the package version. + { + matchPackageNames: ["/.*/"], + semanticCommitType: "chore" + }, + { + matchPackageNames: "org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin", + semanticCommitType: "fix" + } + ] }