From 56fe9052410eabb0fa42e6fb1e52cbbfdbe573bb Mon Sep 17 00:00:00 2001 From: Robert Brennan Date: Fri, 18 Oct 2024 11:21:15 -0400 Subject: [PATCH] reduce dependabot frequency (#4305) --- .github/dependabot.yml | 49 ++++++++++++++++++++++++++++++++++-------- 1 file changed, 40 insertions(+), 9 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 09ef6a92ab..50e60d7ba6 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,21 +1,35 @@ -# To get started with Dependabot version updates, you'll need to specify which -# package ecosystems to update and where the package manifests are located. -# Please see the documentation for all configuration options: -# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file - version: 2 updates: - package-ecosystem: "pip" directory: "/" schedule: interval: "daily" - open-pull-requests-limit: 20 + open-pull-requests-limit: 1 + groups: + # put packages in their own group if they have a history of breaking the build or needing to be reverted + pre-commit: + patterns: + - "pre-commit" + llama: + patterns: + - "llama*" + chromadb: + patterns: + - "chromadb" + security-all: + applies-to: "security-updates" + patterns: + - "*" + version-all: + applies-to: "version-updates" + patterns: + - "*" - package-ecosystem: "npm" directory: "/frontend" schedule: interval: "daily" - open-pull-requests-limit: 20 + open-pull-requests-limit: 1 groups: docusaurus: patterns: @@ -23,12 +37,21 @@ updates: eslint: patterns: - "*eslint*" + security-all: + applies-to: "security-updates" + patterns: + - "*" + version-all: + applies-to: "version-updates" + patterns: + - "*" - package-ecosystem: "npm" directory: "/docs" schedule: - interval: "daily" - open-pull-requests-limit: 20 + interval: "weekly" + day: "wednesday" + open-pull-requests-limit: 1 groups: docusaurus: patterns: @@ -36,3 +59,11 @@ updates: eslint: patterns: - "*eslint*" + security-all: + applies-to: "security-updates" + patterns: + - "*" + version-all: + applies-to: "version-updates" + patterns: + - "*"