This is an automated email from the ASF dual-hosted git repository.

ppkarwasz pushed a commit to branch fix/2.x/dependabot-major-updates
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git

commit ad77ba43ae3fc4c89ae1f05801aaf35952f6874a
Author: Piotr P. Karwasz <[email protected]>
AuthorDate: Fri Jul 24 10:16:37 2026 +0200

    Open separate Dependabot PRs for major version updates
    
    Restrict the catch-all Dependabot groups targeting `2.x` and `main` to
    minor and patch updates. Major updates no longer match any group, so
    Dependabot opens a separate PR for each of them.
    
    Assisted-By: Claude Fable 5 <[email protected]>
---
 .github/dependabot.yaml | 24 ++++++++++++++++++------
 1 file changed, 18 insertions(+), 6 deletions(-)

diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml
index f6410ea1a6..31bb293a59 100644
--- a/.github/dependabot.yaml
+++ b/.github/dependabot.yaml
@@ -52,9 +52,13 @@ updates:
       - "log4j-slf4j-impl/**"
     schedule:
       interval: "monthly"
+    cooldown:
+      default-days: 7
     groups:
-      dependencies:
-        patterns: [ "*" ]
+      # Groups all non-major updates in a single PR.
+      # No group matches major updates, so each one gets a separate PR.
+      maven-minor-updates:
+        update-types: [ "minor", "patch" ]
     target-branch: "2.x"
     registries:
       - maven-central
@@ -153,9 +157,13 @@ updates:
       - "/log4j-mongodb4"
     schedule:
       interval: "monthly"
+    cooldown:
+      default-days: 7
     groups:
-      dependencies:
-        patterns: [ "*" ]
+      # Groups all non-major updates in a single PR.
+      # No group matches major updates, so each one gets a separate PR.
+      maven-minor-updates:
+        update-types: [ "minor", "patch" ]
     target-branch: "2.x"
     registries:
       - maven-central
@@ -198,9 +206,13 @@ updates:
     directory: "/"
     schedule:
       interval: "monthly"
+    cooldown:
+      default-days: 7
     groups:
-      dependencies:
-        patterns: [ "*" ]
+      # Groups all non-major updates in a single PR.
+      # No group matches major updates, so each one gets a separate PR.
+      maven-minor-updates:
+        update-types: [ "minor", "patch" ]
     target-branch: "main"
     registries:
       - maven-central

Reply via email to