Merge pull request #2447 from danielaskdd/dependabot
chore: optimize Dependabot configuration with dependency grouping and PR limits
This commit is contained in:
commit
b2f1de4ac2
7 changed files with 163 additions and 9 deletions
154
.github/dependabot.yml
vendored
154
.github/dependabot.yml
vendored
|
|
@ -3,6 +3,8 @@
|
||||||
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#package-ecosystem
|
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#package-ecosystem
|
||||||
version: 2
|
version: 2
|
||||||
updates:
|
updates:
|
||||||
|
# Enable version updates for GitHub Actions
|
||||||
|
# Workflow files stored in the default location of `.github/workflows`
|
||||||
- package-ecosystem: github-actions
|
- package-ecosystem: github-actions
|
||||||
directory: /
|
directory: /
|
||||||
groups:
|
groups:
|
||||||
|
|
@ -11,3 +13,155 @@ updates:
|
||||||
- "*" # Group all Actions updates into a single larger pull request
|
- "*" # Group all Actions updates into a single larger pull request
|
||||||
schedule:
|
schedule:
|
||||||
interval: weekly
|
interval: weekly
|
||||||
|
labels:
|
||||||
|
- "dependencies"
|
||||||
|
- "github-actions"
|
||||||
|
open-pull-requests-limit: 5
|
||||||
|
|
||||||
|
# Configuration for pip (Python dependencies)
|
||||||
|
- package-ecosystem: "pip"
|
||||||
|
directory: "/"
|
||||||
|
schedule:
|
||||||
|
interval: "weekly"
|
||||||
|
cooldown:
|
||||||
|
default-days: 5
|
||||||
|
semver-major-days: 30
|
||||||
|
semver-minor-days: 7
|
||||||
|
semver-patch-days: 3
|
||||||
|
groups:
|
||||||
|
# Core dependencies - LLM providers and embeddings
|
||||||
|
llm-providers:
|
||||||
|
patterns:
|
||||||
|
- "openai"
|
||||||
|
- "anthropic"
|
||||||
|
- "google-*"
|
||||||
|
- "boto3"
|
||||||
|
- "botocore"
|
||||||
|
- "ollama"
|
||||||
|
update-types:
|
||||||
|
- "minor"
|
||||||
|
- "patch"
|
||||||
|
# Storage backends
|
||||||
|
storage:
|
||||||
|
patterns:
|
||||||
|
- "neo4j"
|
||||||
|
- "pymongo"
|
||||||
|
- "redis"
|
||||||
|
- "psycopg*"
|
||||||
|
- "asyncpg"
|
||||||
|
- "milvus*"
|
||||||
|
- "qdrant*"
|
||||||
|
update-types:
|
||||||
|
- "minor"
|
||||||
|
- "patch"
|
||||||
|
# Data processing and ML
|
||||||
|
data-processing:
|
||||||
|
patterns:
|
||||||
|
- "numpy"
|
||||||
|
- "scipy"
|
||||||
|
- "pandas"
|
||||||
|
- "tiktoken"
|
||||||
|
- "transformers"
|
||||||
|
- "torch*"
|
||||||
|
update-types:
|
||||||
|
- "minor"
|
||||||
|
- "patch"
|
||||||
|
# Web framework and API
|
||||||
|
web-framework:
|
||||||
|
patterns:
|
||||||
|
- "fastapi"
|
||||||
|
- "uvicorn"
|
||||||
|
- "gunicorn"
|
||||||
|
- "starlette"
|
||||||
|
- "pydantic*"
|
||||||
|
update-types:
|
||||||
|
- "minor"
|
||||||
|
- "patch"
|
||||||
|
# Development and testing tools
|
||||||
|
dev-tools:
|
||||||
|
patterns:
|
||||||
|
- "pytest*"
|
||||||
|
- "ruff"
|
||||||
|
- "pre-commit"
|
||||||
|
- "black"
|
||||||
|
- "mypy"
|
||||||
|
update-types:
|
||||||
|
- "minor"
|
||||||
|
- "patch"
|
||||||
|
# Minor and patch updates for everything else
|
||||||
|
python-minor-patch:
|
||||||
|
patterns:
|
||||||
|
- "*"
|
||||||
|
update-types:
|
||||||
|
- "minor"
|
||||||
|
- "patch"
|
||||||
|
labels:
|
||||||
|
- "dependencies"
|
||||||
|
- "python"
|
||||||
|
open-pull-requests-limit: 10
|
||||||
|
|
||||||
|
# Configuration for bun (Frontend dependencies)
|
||||||
|
- package-ecosystem: "bun"
|
||||||
|
directory: "/lightrag_webui"
|
||||||
|
schedule:
|
||||||
|
interval: "weekly"
|
||||||
|
cooldown:
|
||||||
|
default-days: 5
|
||||||
|
semver-major-days: 30
|
||||||
|
semver-minor-days: 7
|
||||||
|
semver-patch-days: 3
|
||||||
|
groups:
|
||||||
|
# React ecosystem
|
||||||
|
react:
|
||||||
|
patterns:
|
||||||
|
- "react"
|
||||||
|
- "react-dom"
|
||||||
|
- "react-router*"
|
||||||
|
- "@types/react*"
|
||||||
|
update-types:
|
||||||
|
- "minor"
|
||||||
|
- "patch"
|
||||||
|
# UI components and styling
|
||||||
|
ui-components:
|
||||||
|
patterns:
|
||||||
|
- "@radix-ui/*"
|
||||||
|
- "tailwind*"
|
||||||
|
- "@tailwindcss/*"
|
||||||
|
- "lucide-react"
|
||||||
|
- "class-variance-authority"
|
||||||
|
- "clsx"
|
||||||
|
update-types:
|
||||||
|
- "minor"
|
||||||
|
- "patch"
|
||||||
|
# Graph visualization
|
||||||
|
graph-viz:
|
||||||
|
patterns:
|
||||||
|
- "sigma"
|
||||||
|
- "@sigma/*"
|
||||||
|
- "graphology*"
|
||||||
|
update-types:
|
||||||
|
- "minor"
|
||||||
|
- "patch"
|
||||||
|
# Build tools and dev dependencies
|
||||||
|
build-tools:
|
||||||
|
patterns:
|
||||||
|
- "vite"
|
||||||
|
- "@vitejs/*"
|
||||||
|
- "typescript"
|
||||||
|
- "eslint*"
|
||||||
|
- "@eslint/*"
|
||||||
|
- "prettier"
|
||||||
|
update-types:
|
||||||
|
- "minor"
|
||||||
|
- "patch"
|
||||||
|
# All other minor and patch updates
|
||||||
|
frontend-minor-patch:
|
||||||
|
patterns:
|
||||||
|
- "*"
|
||||||
|
update-types:
|
||||||
|
- "minor"
|
||||||
|
- "patch"
|
||||||
|
labels:
|
||||||
|
- "dependencies"
|
||||||
|
- "frontend"
|
||||||
|
open-pull-requests-limit: 10
|
||||||
|
|
|
||||||
4
.github/workflows/copilot-setup-steps.yml
vendored
4
.github/workflows/copilot-setup-steps.yml
vendored
|
|
@ -23,10 +23,10 @@ jobs:
|
||||||
# If you do not check out your code, Copilot will do this for you.
|
# If you do not check out your code, Copilot will do this for you.
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Set up Python 3.11
|
- name: Set up Python 3.11
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v6
|
||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: '3.11'
|
||||||
|
|
||||||
|
|
|
||||||
2
.github/workflows/docker-build-lite.yml
vendored
2
.github/workflows/docker-build-lite.yml
vendored
|
|
@ -18,7 +18,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
|
|
||||||
2
.github/workflows/docker-build-manual.yml
vendored
2
.github/workflows/docker-build-manual.yml
vendored
|
|
@ -18,7 +18,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0 # Fetch all history for tags
|
fetch-depth: 0 # Fetch all history for tags
|
||||||
|
|
||||||
|
|
|
||||||
2
.github/workflows/docker-publish.yml
vendored
2
.github/workflows/docker-publish.yml
vendored
|
|
@ -14,7 +14,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0 # Fetch all history for tags
|
fetch-depth: 0 # Fetch all history for tags
|
||||||
|
|
||||||
|
|
|
||||||
4
.github/workflows/linting.yaml
vendored
4
.github/workflows/linting.yaml
vendored
|
|
@ -14,10 +14,10 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v6
|
||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
python-version: '3.x'
|
||||||
|
|
||||||
|
|
|
||||||
4
.github/workflows/pypi-publish.yml
vendored
4
.github/workflows/pypi-publish.yml
vendored
|
|
@ -13,7 +13,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0 # Fetch all history for tags
|
fetch-depth: 0 # Fetch all history for tags
|
||||||
|
|
||||||
|
|
@ -40,7 +40,7 @@ jobs:
|
||||||
echo "Frontend files:"
|
echo "Frontend files:"
|
||||||
ls -lh lightrag/api/webui/ | head -10
|
ls -lh lightrag/api/webui/ | head -10
|
||||||
|
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v6
|
||||||
with:
|
with:
|
||||||
python-version: "3.x"
|
python-version: "3.x"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue