|
| 1 | +# dependabot.yml |
| 2 | +# |
| 3 | +# Dependabot automatically opens pull requests when dependencies have updates |
| 4 | +# available. This keeps the project secure and up to date without manual checks. |
| 5 | +# |
| 6 | +# Each "updates" block targets one package ecosystem. This repository has two: |
| 7 | +# - npm : Node.js dependencies defined in package.json |
| 8 | +# - pip : Python dependencies defined in pyproject.toml / requirements files |
| 9 | +# |
| 10 | +# Key options: |
| 11 | +# |
| 12 | +# schedule.interval — "daily" | "weekly" | "monthly" |
| 13 | +# schedule.day/time — when within the interval to run (Monday 6am here) |
| 14 | +# schedule.timezone — IANA timezone for the above time |
| 15 | +# |
| 16 | +# open-pull-requests-limit — max number of open dep-bump PRs at once (default 5) |
| 17 | +# set to 0 to pause updates for that ecosystem |
| 18 | +# |
| 19 | +# labels — GitHub labels automatically applied to the opened PRs |
| 20 | +# |
| 21 | +# commit-message.prefix — prepended to the commit message (e.g. "chore: bump X") |
| 22 | +# commit-message.include — "scope" adds the package name in parentheses |
| 23 | +# |
| 24 | +# groups — bundle multiple related packages into a single PR instead of one PR per package. |
| 25 | +# Without groups, a project with 20 deps could open 20 PRs. |
| 26 | +# |
| 27 | +# ignore — blacklist or limit updates for specific packages |
| 28 | +# |
| 29 | +# allow — whitelist only specific packages |
| 30 | + |
| 31 | +version: 2 |
| 32 | +updates: |
| 33 | + # ── npm (Node.js / TypeScript) ───────────────────────────────────────────── |
| 34 | + # Watches package.json at the repo root and opens PRs for outdated packages. |
| 35 | + # Related packages are grouped so one PR handles e.g. all eslint updates. |
| 36 | + - package-ecosystem: "npm" |
| 37 | + directory: "/" |
| 38 | + schedule: |
| 39 | + interval: "weekly" |
| 40 | + day: "monday" |
| 41 | + time: "06:00" |
| 42 | + timezone: "America/Chicago" |
| 43 | + open-pull-requests-limit: 5 |
| 44 | + labels: |
| 45 | + - "dependencies" |
| 46 | + - "automated" |
| 47 | + commit-message: |
| 48 | + prefix: "chore" |
| 49 | + include: "scope" |
| 50 | + groups: |
| 51 | + typescript: |
| 52 | + patterns: |
| 53 | + - "typescript" |
| 54 | + - "@types/*" |
| 55 | + esbuild: |
| 56 | + patterns: |
| 57 | + - "esbuild" |
| 58 | + - "esbuild-*" |
| 59 | + eslint: |
| 60 | + patterns: |
| 61 | + - "eslint" |
| 62 | + - "@eslint/*" |
| 63 | + - "eslint-*" |
| 64 | + vscode: |
| 65 | + patterns: |
| 66 | + - "@vscode/*" |
| 67 | + - "@types/vscode" |
| 68 | + |
| 69 | + # ── pip (Python) ─────────────────────────────────────────────────────────── |
| 70 | + # Watches pyproject.toml / requirements files at the repo root. |
| 71 | + - package-ecosystem: "pip" |
| 72 | + directory: "/" |
| 73 | + schedule: |
| 74 | + interval: "weekly" |
| 75 | + day: "monday" |
| 76 | + time: "06:00" |
| 77 | + timezone: "America/Chicago" |
| 78 | + open-pull-requests-limit: 5 |
| 79 | + labels: |
| 80 | + - "dependencies" |
| 81 | + - "automated" |
| 82 | + commit-message: |
| 83 | + prefix: "chore" |
| 84 | + include: "scope" |
0 commit comments