From 4a551aef9ff4ced0f8cb5024251ede1e49dc374f Mon Sep 17 00:00:00 2001 From: Mathias Fredriksson Date: Thu, 7 Nov 2024 14:08:08 +0200 Subject: [PATCH] chore(.github): group dependabot PRs and reduce frequency for thirdpary --- .github/dependabot.yml | 39 ++++++++++++++++++++++++++++++++++----- 1 file changed, 34 insertions(+), 5 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index c032ff24..a98438e3 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,9 +1,38 @@ version: 2 updates: - - package-ecosystem: 'gomod' + # Track in case we ever add dependencies. + - package-ecosystem: "gomod" directories: - - '/' - - '/internal/examples' - - '/internal/thirdparty' + - "/" schedule: - interval: 'weekly' + interval: "weekly" + commit-message: + prefix: "chore" + + # Keep examples up-to-date. + - package-ecosystem: "gomod" + directories: + - "/internal/examples" + schedule: + interval: "monthly" + commit-message: + prefix: "chore" + labels: [] + groups: + examples: + patterns: + - "*" + + # Tests, these are not critical but we should keep them up-to-date. + - package-ecosystem: "gomod" + directories: + - "/internal/thirdparty" + schedule: + interval: "monthly" + commit-message: + prefix: "chore" + labels: [] + groups: + thirdparty: + patterns: + - "*"