diff --git a/renovate.json5 b/renovate.json5 new file mode 100644 index 0000000000..1610eba065 --- /dev/null +++ b/renovate.json5 @@ -0,0 +1,33 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + extends: [ "github>SonarSource/renovate-config:quality-jvm-squad" ], + ignorePaths: [ + "docs/**", + "its/sources/**", + "its/plugin/projects/**", + "java-checks-test-sources/**", + "java-surefire/src/test/resources/**", + ], + packageRules: [ + { + "matchManagers": [ + "maven" + ], + "matchPackageNames": [ + "org.sonarsource.api.plugin:sonar-plugin-api*" + ], + "groupName": "sonar-plugin-api", + "groupSlug": "sonar-plugin-api", + "prHeader": "**Before updating the plugin-api version, make sure to check the [compatibility matrix](https://github.com/SonarSource/sonar-plugin-api?tab=readme-ov-file#compatibility) and stick to the lowest denominator.**" + }, + { + matchManagers: [ + "github-actions" + ], + matchPackagePatterns: [ + "^SonarSource/" + ], + extractVersion: "^v(?\\d+)$" + }, + ], +}