mirror of
https://github.com/Zproger/Aurum.git
synced 2026-10-13 02:56:39 +07:00
ci: группировать Dependabot-обновления по minor/patch и major
Все minor/patch-апдейты одного пакетного менеджера теперь идут одним PR, а major-обновления — отдельным, чтобы не терялись среди рутинных и не сыпало десятком PR одновременно.
This commit is contained in:
22
.github/dependabot.yml
vendored
22
.github/dependabot.yml
vendored
@@ -1,21 +1,37 @@
|
|||||||
version: 2
|
version: 2
|
||||||
updates:
|
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"
|
- package-ecosystem: "npm"
|
||||||
directory: "/frontend"
|
directory: "/frontend"
|
||||||
schedule:
|
schedule:
|
||||||
interval: "weekly"
|
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"
|
- package-ecosystem: "pip"
|
||||||
directory: "/backend"
|
directory: "/backend"
|
||||||
schedule:
|
schedule:
|
||||||
interval: "weekly"
|
interval: "weekly"
|
||||||
|
groups:
|
||||||
|
pip-minor-patch:
|
||||||
|
update-types: ["minor", "patch"]
|
||||||
|
pip-major:
|
||||||
|
update-types: ["major"]
|
||||||
|
|
||||||
# The GitHub Actions themselves (actions/checkout, setup-python, ...) used
|
# The GitHub Actions themselves (actions/checkout, setup-python, ...) used
|
||||||
# in .github/workflows/ci.yml — these go stale too, and an outdated action
|
# 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"
|
- package-ecosystem: "github-actions"
|
||||||
directory: "/"
|
directory: "/"
|
||||||
schedule:
|
schedule:
|
||||||
interval: "weekly"
|
interval: "weekly"
|
||||||
|
groups:
|
||||||
|
actions:
|
||||||
|
patterns: ["*"]
|
||||||
|
|||||||
Reference in New Issue
Block a user