From d21445a512ada065e4d2f41e6194b326fa66c82c Mon Sep 17 00:00:00 2001 From: Roger Coll Date: Wed, 19 Jun 2024 09:27:15 +0200 Subject: [PATCH] ci: add Go directories to dependabot configuration (#16) * ci: specify go module directories for dependabot * chore: add comment to use glob for directories --- .github/dependabot.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 205c5d6e..21b7bfb8 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,12 +1,27 @@ --- version: 2 updates: + #TODO: Replace go directories with wildcard https://github.com/dependabot/dependabot-core/issues/2178 - package-ecosystem: "gomod" - directory: "/" + directory: "/processor/elasticinframetricsprocessor/" + schedule: + interval: "daily" + labels: + - automation + groups: + otel-dependencies: + patterns: ["go.opentelemetry.io/*"] + ignore: + - dependency-name: "*" + update-types: ["version-update:semver-major"] + + - package-ecosystem: "gomod" + directory: "/internal/tools/" schedule: interval: "daily" labels: - automation + - tools groups: otel-dependencies: patterns: ["go.opentelemetry.io/*"]