From d75abb73e46e7ff4e6868a8cc98d23d2d96ae2e8 Mon Sep 17 00:00:00 2001 From: Kris Coleman Date: Tue, 31 Mar 2026 14:36:14 -0400 Subject: [PATCH] fix(dependabot): merge helm entries to avoid overlapping directories Dependabot requires unique (package-ecosystem, directory) pairs. The previous config had two "helm" entries with identical directory lists, which caused: "Update configs must have a unique combination of 'package-ecosystem', 'directory', and 'target-branch'." Consolidate into a single entry with two groups: - replicated-sdk: tracks the Replicated SDK dependency - all-other-deps: tracks everything else (via exclude-patterns) Both now run on a weekly cadence since Dependabot doesn't support per-group schedules. Co-Authored-By: Claude Opus 4.6 --- .github/dependabot.yml | 28 +++++----------------------- 1 file changed, 5 insertions(+), 23 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 62b5174d..91c99ea7 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -3,12 +3,12 @@ # When adding a new Helm chart that depends on the Replicated SDK, # add a corresponding entry here so Dependabot keeps it up to date. # -# NOTE: Dependabot does not support YAML anchors/aliases, so the -# directory lists must be duplicated between entries. +# NOTE: Dependabot requires unique (ecosystem, directory) pairs, so we +# use a single entry with groups to separate Replicated SDK updates from +# everything else. Both follow a weekly cadence as a result. # version: 2 updates: - # Track the Replicated SDK on a weekly cadence - package-ecosystem: "helm" directories: - "/applications/fake-services/app" @@ -20,28 +20,10 @@ updates: - "/applications/wg-easy/charts/wg-easy" schedule: interval: "weekly" - allow: - - dependency-name: "replicated" groups: replicated-sdk: patterns: - "replicated" - - # Track all other Helm dependencies on a monthly cadence - - package-ecosystem: "helm" - directories: - - "/applications/fake-services/app" - - "/applications/mlflow/charts/mlflow" - - "/applications/n8n/charts/n8n" - - "/applications/onlineboutique/chart" - - "/applications/powerdns/charts/powerdns-authoritative" - - "/applications/storagebox/charts/storagebox" - - "/applications/wg-easy/charts/wg-easy" - schedule: - interval: "monthly" - ignore: - - dependency-name: "replicated" - groups: all-other-deps: - patterns: - - "*" + exclude-patterns: + - "replicated"