|
| 1 | +{ |
| 2 | + /* |
| 3 | + * https://docs.renovatebot.com/configuration-options/ |
| 4 | + * 1️⃣ General bot behaviour |
| 5 | + * ────────────────────────── |
| 6 | + */ |
| 7 | + "extends": [ |
| 8 | + "config:base", /* sensible defaults, but no major-bumps or grouping magic */ |
| 9 | + ":weekly" /* run once a week, early Monday UTC (≈ Sun night US / Mon AM EU) */ |
| 10 | + ], |
| 11 | + |
| 12 | + /* Only open one brand-new branch or PR during the weekly window */ |
| 13 | + "prHourlyLimit": 1, |
| 14 | + |
| 15 | + /* |
| 16 | + * 2️⃣ Package-specific safeguards |
| 17 | + * ─────────────────────────────── |
| 18 | + * We simply turn *off* major-update PRs for the three troublesome deps. |
| 19 | + * Minor / patch releases (incl. security fixes) still flow through. |
| 20 | + */ |
| 21 | + "packageRules": [ |
| 22 | + { |
| 23 | + "description": "🚫 Never bump the project Python major", |
| 24 | + "matchPackageNames": ["python"], |
| 25 | + "matchUpdateTypes": ["major"], |
| 26 | + "enabled": false |
| 27 | + }, |
| 28 | + { |
| 29 | + "description": "🚫 Stay on CodeMirror 5.x", |
| 30 | + "matchPackageNames": ["codemirror"], |
| 31 | + "matchUpdateTypes": ["major"], |
| 32 | + "enabled": false |
| 33 | + }, |
| 34 | + { |
| 35 | + "description": "🚫 Stay on Tailwind 2.x", |
| 36 | + "matchPackageNames": ["tailwindcss"], |
| 37 | + "matchUpdateTypes": ["major"], |
| 38 | + "enabled": false |
| 39 | + } |
| 40 | + ], |
| 41 | + |
| 42 | + /* |
| 43 | + * 3️⃣ Quality-of-life niceties (optional, but handy) |
| 44 | + * ────────────────────────────────────────────────── |
| 45 | + */ |
| 46 | + "dependencyDashboard": true, /* one place to see/snooze every update */ |
| 47 | + "prCreation": "not-pending", /* PR appears only after CI finishes the branch */ |
| 48 | + "rebaseWhen": "behind-base-branch" /* keep approved PRs fresh until you hit "merge" */ |
| 49 | +} |
0 commit comments