From 3515abab07d0bb2441277f43c2411c9b5e4ecf94 Mon Sep 17 00:00:00 2001 From: Jenn Magder Date: Wed, 18 Dec 2024 13:05:07 -0800 Subject: [PATCH] Group dependabot updates for some gradle dependencies (#8100) After https://github.com/flutter/packages/pull/8048 I was expecting dependabot to update all packages given a particular dependency bump, but that doesn't seem to be happening. For example https://github.com/flutter/packages/pull/8097 only updated shared_preferences_android. So let's try adding [`groups`](https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#groups) to see if that does it. Group some dependencies together. Fixes https://github.com/flutter/flutter/issues/148098 --- .github/dependabot.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 53ed01fbf7c..5ce98de5811 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -105,6 +105,20 @@ updates: open-pull-requests-limit: 10 labels: - "autosubmit" + groups: + test-dependencies: + patterns: + - "androidx.test:*" + - "io.mockk:mockk:*" + - "junit:junit" + - "org.mockito:*" + - "org.robolectric:*" + gradle-plugin: + patterns: + - "org.jetbrains.kotlin:kotlin-gradle-plugin" + androidx: + patterns: + - "androidx.annotation:annotation" ignore: - dependency-name: "com.android.tools.build:gradle" update-types: ["version-update:semver-minor", "version-update:semver-patch"]