From 42135bafb6ddd60a68b34f24dba6d75fcaa6d911 Mon Sep 17 00:00:00 2001 From: Eric Wittmann Date: Thu, 30 Jan 2025 11:25:56 -0500 Subject: [PATCH] Migrate from dependabot to renovate --- .github/dependabot.yml | 144 ------------------------------------- renovate.json | 156 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 156 insertions(+), 144 deletions(-) delete mode 100644 .github/dependabot.yml create mode 100644 renovate.json diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index c699748094..0000000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,144 +0,0 @@ -version: 2 -updates: - - package-ecosystem: maven - directory: "/" - schedule: - interval: daily - groups: - maven-plugin-dependencies: - patterns: - - "org.apache.maven.plugins:*" - confluent-dependencies: - patterns: - - "io.confluent:*" - kiota-dependencies: - patterns: - - "com.microsoft.kiota:*" - apicurio-common-dependencies: - patterns: - - "io.apicurio:apicurio-common*" - test-dependencies: - patterns: - - "*test*" - - - package-ecosystem: nuget - directory: "/python-sdk" - schedule: - interval: daily - - package-ecosystem: nuget - directory: "/go-sdk" - schedule: - interval: daily - - - package-ecosystem: maven - directory: "/" - target-branch: 2.6.x - schedule: - interval: weekly - groups: - backport-dependencies-2.6.x: - patterns: - - "*" - - - package-ecosystem: npm - directory: "/ui" - schedule: - interval: daily - groups: - ui-dependencies: - patterns: - - "*" - update-types: - - "patch" - - "minor" - open-pull-requests-limit: 10 - versioning-strategy: increase - - - package-ecosystem: npm - directory: "/ui/ui-app" - schedule: - interval: daily - groups: - ui-app-dependencies: - patterns: - - "*" - update-types: - - "patch" - - "minor" - exclude-patterns: - - "@microsoft/*" - ui-app-kiota: - patterns: - - "@microsoft/*" - update-types: - - "patch" - - "minor" - open-pull-requests-limit: 10 - versioning-strategy: increase - - - package-ecosystem: npm - directory: "/ui/ui-docs" - schedule: - interval: daily - groups: - ui-docs-dependencies: - patterns: - - "*" - update-types: - - "patch" - - "minor" - exclude-patterns: - - "eslint" - open-pull-requests-limit: 10 - versioning-strategy: increase - - - package-ecosystem: npm - directory: "/ui/tests" - schedule: - interval: daily - groups: - ui-test-dependencies: - patterns: - - "*" - update-types: - - "patch" - - "minor" - exclude-patterns: - - "eslint" - open-pull-requests-limit: 10 - versioning-strategy: increase - - - package-ecosystem: npm - directory: "/typescript-sdk" - schedule: - interval: daily - groups: - typescript-sdk-dependencies: - patterns: - - "*" - update-types: - - "patch" - - "minor" - exclude-patterns: - - "@microsoft/*" - typescript-sdk-kiota: - patterns: - - "@microsoft/*" - update-types: - - "patch" - - "minor" - open-pull-requests-limit: 10 - versioning-strategy: increase - - - package-ecosystem: npm - directory: "/docs-playbook" - schedule: - interval: weekly - versioning-strategy: increase - groups: - docs-playbook-dependencies: - patterns: - - "*" - update-types: - - "patch" - - "minor" diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000000..c13eaf5ec2 --- /dev/null +++ b/renovate.json @@ -0,0 +1,156 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:recommended" + ], + "enabledManagers": [ + "npm", "maven", "nuget", "go" + ], + "dependencyDashboard": true, + "rangeStrategy": "bump", + "ignorePaths": [ + "ui/deploy-examples/**", + "ui/Dockerfile", + "distro/**", + "docs/**", + "docs-playbook/**", + "examples/**" + ], + "prConcurrentLimit": 5, + "prHourlyLimit": 5, + "packageRules": [ + { + "groupName": "Dependencies: Maven App: All", + "matchPaths": [ + "/**/pom.xml" + ], + "enabled": true, + "matchUpdateTypes": ["minor", "patch"] + }, + { + "groupName": "Dependencies: Maven App: All (Major)", + "matchPaths": [ + "/**/pom.xml" + ], + "enabled": true, + "matchUpdateTypes": ["major"], + "schedule": [ "* 0 1 * *" ] + }, + { + "groupName": "Dependencies: Maven App: Quarkus", + "matchPaths": [ + "/**/pom.xml" + ], + "matchPackageNames": ["io.quarkus:*"], + "enabled": true, + "matchUpdateTypes": ["minor", "patch"], + "schedule": [ "* 0 1 * *" ] + }, + { + "groupName": "Dependencies: Maven App: Quarkus (Major)", + "matchPaths": [ + "/**/pom.xml" + ], + "matchPackageNames": ["io.quarkus:*"], + "enabled": false, + "matchUpdateTypes": ["major"] + }, + { + "groupName": "Dependencies: Maven App: Confluent", + "matchPaths": [ + "/**/pom.xml" + ], + "matchPackageNames": ["io.confluent:*"], + "enabled": true, + "matchUpdateTypes": ["minor", "patch"], + "schedule": [ "* 0 1 * *" ] + }, + { + "groupName": "Dependencies: Maven App: Confluent (Major)", + "matchPaths": [ + "/**/pom.xml" + ], + "matchPackageNames": ["io.confluent:*"], + "enabled": false, + "matchUpdateTypes": ["major"] + }, + { + "groupName": "Dependencies: UI App", + "matchPaths": [ + "ui/ui-app/**" + ], + "enabled": true, + "matchUpdateTypes": ["minor", "patch"] + }, + { + "groupName": "Dependencies: UI App (Major)", + "matchPaths": [ + "ui/ui-app/**" + ], + "enabled": true, + "matchUpdateTypes": ["major"], + "schedule": [ "* 0 15 * *" ] + }, + { + "groupName": "Dependencies: Typescript SDK", + "matchPaths": [ + "typescript-sdk/**" + ], + "enabled": true, + "matchUpdateTypes": ["minor", "patch"] + }, + { + "groupName": "Dependencies: Typescript SDK (Major)", + "matchPaths": [ + "typescript-sdk/**" + ], + "enabled": true, + "matchUpdateTypes": ["major"], + "schedule": [ "* 0 15 * *" ] + }, + { + "groupName": "Dependencies: Kiota (Typescript)", + "matchPaths": [ + "typescript-sdk/**", + "ui/ui-app/**" + ], + "matchPackageNames": ["@microsoft/kiota-*"], + "enabled": true, + "schedule": [ "* 0 15 * *" ] + }, + { + "groupName": "Dependencies: UI Tests", + "matchPaths": [ + "ui/tests/**" + ], + "enabled": true, + "matchUpdateTypes": ["minor", "patch"] + }, + { + "groupName": "Dependencies: UI Tests (Major)", + "matchPaths": [ + "ui/tests/**" + ], + "enabled": true, + "matchUpdateTypes": ["major"], + "schedule": [ "* 0 15 * *" ] + }, + { + "groupName": "Dependencies: UI Docs", + "matchPaths": [ + "ui/ui-docs/**" + ], + "enabled": true, + "matchUpdateTypes": ["minor", "patch"] + }, + { + "groupName": "Dependencies: UI Docs (Major)", + "matchPaths": [ + "ui/ui-docs/**" + ], + "enabled": true, + "matchUpdateTypes": ["major"], + "schedule": [ "* 0 15 * *" ] + } + ] +}