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

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


The following commit(s) were added to refs/heads/2.x by this push:
     new b21bb32331 Open separate Dependabot PRs for major version updates 
(#4200)
b21bb32331 is described below

commit b21bb323312077a8b0c3e248ce66e223eab38e86
Author: Piotr P. Karwasz <[email protected]>
AuthorDate: Fri Jul 24 10:45:26 2026 +0200

    Open separate Dependabot PRs for major version updates (#4200)
    
    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