DefectRAG / .github /dependabot.yml
Wizzas's picture
Upload source code
2274b3a verified
Raw History Blame Contribute Delete
2.3 kB
# Monthly, grouped update proposals so security fixes arrive without daily noise.
#
# How to use the pull requests: do NOT press Merge on GitHub. The GitHub repo is a
# copy of the local folder and the next Update-GitHub.ps1 run would undo it. Apply
# the same change locally, run the tests, include it in the next GitHub update, and
# Dependabot closes its pull request by itself.
#
# Major versions (for example Vite 6 -> 8) are skipped: they need a planned upgrade.
# Model libraries are held completely, because new versions can shift model scores
# or benchmark results; upgrade them on purpose and re-run the accuracy checks.
# Pillow is held for the same reason: it decodes and resizes every photo the model sees.
# sentence-transformers is held because it makes the assistant's search embeddings.
#
# Note: for Python ranges Dependabot can still propose a new major version when it
# falls outside the allowed range (the semver-major rule does not stop that). Treat
# such a pull request as a planned upgrade: test it, or close it with a reason.
#
# Python ranges (requirements.txt) are only raised when a new version falls outside
# them. CI already installs the newest allowed version, so "raise the minimum"
# pull requests would add noise without testing anything new.
version: 2
updates:
- package-ecosystem: npm
directory: /frontend
schedule:
interval: monthly
open-pull-requests-limit: 3
ignore:
- dependency-name: "*"
update-types: [version-update:semver-major]
groups:
dashboard-minor-and-patch:
update-types: [minor, patch]
- package-ecosystem: pip
directory: /
schedule:
interval: monthly
versioning-strategy: increase-if-necessary
open-pull-requests-limit: 3
ignore:
- dependency-name: "*"
update-types: [version-update:semver-major]
- dependency-name: torch
- dependency-name: torchvision
- dependency-name: transformers
- dependency-name: anomalib
- dependency-name: pillow
- dependency-name: sentence-transformers
groups:
python-minor-and-patch:
update-types: [minor, patch]
- package-ecosystem: github-actions
directory: /
schedule:
interval: monthly