Skip to content

Commit 8d7011a

Browse files
committed
ci: fix renovate commit types
1 parent 8456624 commit 8d7011a

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

renovate.json5

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,18 @@
1010
*/
1111
$schema: "https://docs.renovatebot.com/renovate-schema.json",
1212
extends: ["github>jGleitz/renovate-config:default.json5"],
13+
packageRules: [
14+
// renovate doesn’t extract Gradle configurations, and, thus, doesn’t apply the
15+
// fix / chore distinction correctly. See https://github.com/renovatebot/renovate/discussions/27777
16+
// We set the commit type to ‘chore’ for all dependencies to avoid wrong ‘fix’ PRs. Then we
17+
// hand-select the production dependencies that should actually bump the package version.
18+
{
19+
matchPackageNames: ["/.*/"],
20+
semanticCommitType: "chore"
21+
},
22+
{
23+
matchPackageNames: "org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin",
24+
semanticCommitType: "fix"
25+
}
26+
]
1327
}

0 commit comments

Comments
 (0)