mirror of
https://github.com/BigBodyCobain/Shadowbroker.git
synced 2026-12-06 09:34:09 +01:00
Dependabot opened a dozen separate PRs a week, and with required CI each merge forced the rest to rebase and rerun. Group npm and uv minor/patch version updates into one weekly PR each. Majors still get their own PR for individual review, security updates stay individual so a batch can't hold them up, and React keeps its existing dedicated group. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
61 lines
2.2 KiB
YAML
61 lines
2.2 KiB
YAML
version: 2
|
|
updates:
|
|
- package-ecosystem: "npm"
|
|
directory: "/frontend"
|
|
schedule:
|
|
interval: "weekly"
|
|
# @types/node tracks the Node runtime we ship (24.x in both images and CI);
|
|
# newer majors describe APIs that don't exist at runtime.
|
|
ignore:
|
|
- dependency-name: "@types/node"
|
|
update-types: ["version-update:semver-major"]
|
|
groups:
|
|
react-runtime:
|
|
applies-to: version-updates
|
|
patterns:
|
|
- "react"
|
|
- "react-dom"
|
|
- "@types/react"
|
|
- "@types/react-dom"
|
|
react-runtime-security:
|
|
applies-to: security-updates
|
|
patterns:
|
|
- "react"
|
|
- "react-dom"
|
|
- "@types/react"
|
|
- "@types/react-dom"
|
|
# Everything else that's a minor or patch bump lands as one weekly PR.
|
|
# Majors still get their own PR so each can be reviewed on its own, and
|
|
# security updates stay individual so they aren't held up by the batch.
|
|
# (A package matches the first group listed, so React stays in its own.)
|
|
npm-minor-and-patch:
|
|
applies-to: version-updates
|
|
update-types: ["minor", "patch"]
|
|
# uv (not pip) so Python bumps update uv.lock as well as pyproject.toml.
|
|
# Docker and CI install from the lock with --frozen; a pyproject-only bump
|
|
# passes CI without ever installing the new version.
|
|
- package-ecosystem: "uv"
|
|
directory: "/"
|
|
schedule:
|
|
interval: "weekly"
|
|
groups:
|
|
# One weekly PR for minor/patch bumps, same rules as npm above.
|
|
python-minor-and-patch:
|
|
applies-to: version-updates
|
|
update-types: ["minor", "patch"]
|
|
- package-ecosystem: "docker"
|
|
directories:
|
|
- "/frontend"
|
|
- "/backend"
|
|
schedule:
|
|
interval: "weekly"
|
|
# Runtime version jumps are planned on purpose, not taken from a weekly
|
|
# bump: Node is pinned to the same LTS line in both images and CI, and a
|
|
# new Python minor needs wheels for every dependency (e.g. pyproj) first.
|
|
# Patch updates still come through.
|
|
ignore:
|
|
- dependency-name: "node"
|
|
update-types: ["version-update:semver-major"]
|
|
- dependency-name: "python"
|
|
update-types: ["version-update:semver-major", "version-update:semver-minor"]
|