From 6f085d2d0a4b18593ba795f69e654c577b837105 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B4mulo=20Farias?= Date: Wed, 13 Nov 2024 13:32:33 +0100 Subject: [PATCH] Improve Dependabot PR Naming and skip backport (#2722) (cherry picked from commit 61ea7bc832b6a054d0c0e3da0fad955e046637ee) --- .github/dependabot.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 458c653653..9c44bc61e5 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -2,9 +2,12 @@ version: 2 updates: - # Maintain dependencies for go.mod + # Maintain dependencies for go.mod main branch - package-ecosystem: "gomod" directory: "/" + commit-message: + include: scope + prefix: "main" groups: azure: patterns: @@ -28,6 +31,7 @@ updates: labels: - "backport-skip" - "dependency" + - "backport-skip" - "go" open-pull-requests-limit: 2 # elastic/beats is using v7 in their go.mod, leading to automatic updates not working. Manual update is needed with @@ -37,9 +41,13 @@ updates: schedule: interval: "monthly" + # Maintain dependencies for go.mod 8.x branch - package-ecosystem: "gomod" target-branch: "8.x" directory: "/" + commit-message: + include: scope + prefix: "8.x" groups: azure: patterns: @@ -62,6 +70,7 @@ updates: - "github.com/aquasecurity/*" labels: - "dependency" + - "backport-skip" - "go" open-pull-requests-limit: 2 # elastic/beats is using v7 in their go.mod, leading to automatic updates not working. Manual update is needed with