Skip to content

Commit

Permalink
Group dependabot updates for some gradle dependencies (flutter#8100)
Browse files Browse the repository at this point in the history
After flutter#8048 I was expecting dependabot to update all packages given a particular dependency bump, but that doesn't seem to be happening.  For example flutter#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 flutter/flutter#148098
  • Loading branch information
jmagman authored Dec 18, 2024
1 parent a165b43 commit 3515aba
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 3515aba

Please sign in to comment.