ci: группировать Dependabot-обновления по minor/patch и major

Все minor/patch-апдейты одного пакетного менеджера теперь идут одним
PR, а major-обновления — отдельным, чтобы не терялись среди рутинных
и не сыпало десятком PR одновременно.
This commit is contained in:
ZProger
2026-09-09 01:15:33 +03:00
parent 2d4f405167
commit 4cb5c4788a

View File

@@ -1,21 +1,37 @@
version: 2
updates:
# Frontend npm dependencies.
# Frontend npm dependencies. Minor/patch bumps are low-risk and bundled
# into one PR; majors (real breaking-change risk) get their own group so
# they don't hide inside a pile of safe updates.
- package-ecosystem: "npm"
directory: "/frontend"
schedule:
interval: "weekly"
groups:
npm-minor-patch:
update-types: ["minor", "patch"]
npm-major:
update-types: ["major"]
# Backend pip dependencies.
# Backend pip dependencies — same minor/patch vs. major split as npm above.
- package-ecosystem: "pip"
directory: "/backend"
schedule:
interval: "weekly"
groups:
pip-minor-patch:
update-types: ["minor", "patch"]
pip-major:
update-types: ["major"]
# The GitHub Actions themselves (actions/checkout, setup-python, ...) used
# in .github/workflows/ci.yml — these go stale too, and an outdated action
# can be its own supply-chain risk.
# can be its own supply-chain risk. Few enough that one group for
# everything is fine, no minor/major split needed.
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
groups:
actions:
patterns: ["*"]