From bd7592655cea1764a988bd596e0cef3056445cb8 Mon Sep 17 00:00:00 2001 From: Mathias Fredriksson Date: Thu, 7 Nov 2024 14:08:08 +0200 Subject: [PATCH 1/2] chore(.github): group dependabot PRs and reduce frequency for thirdpary --- .github/dependabot.yml | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index c032ff24..4e4bf372 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,9 +1,38 @@ version: 2 updates: + # Track in case we ever add dependencies. - package-ecosystem: 'gomod' directories: - '/' + schedule: + interval: 'weekly' + commit-message: + prefix: 'chore' + + # Keep examples up-to-date. + - package-ecosystem: 'gomod' + directories: - '/internal/examples' - - '/internal/thirdparty' schedule: interval: 'weekly' + 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: + - '*' From 996f7c42c8fd7dde497e190d3563fb027e1daee6 Mon Sep 17 00:00:00 2001 From: Mathias Fredriksson Date: Thu, 7 Nov 2024 14:46:49 +0200 Subject: [PATCH 2/2] simplify dependabot yaml --- .github/dependabot.yml | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 4e4bf372..fb0a4558 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -2,30 +2,16 @@ version: 2 updates: # Track in case we ever add dependencies. - package-ecosystem: 'gomod' - directories: - - '/' + directory: '/' schedule: interval: 'weekly' commit-message: prefix: 'chore' - # Keep examples up-to-date. + # Keep example and test/benchmark deps up-to-date. - package-ecosystem: 'gomod' directories: - '/internal/examples' - schedule: - interval: 'weekly' - 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' @@ -33,6 +19,6 @@ updates: prefix: 'chore' labels: [] groups: - thirdparty: + internal-deps: patterns: - '*'