|
| 1 | +{ |
| 2 | + "$schema": "https://docs.renovatebot.com/renovate-schema.json", |
| 3 | + |
| 4 | + "packageRules": [ |
| 5 | + // Set range strategy |
| 6 | + { |
| 7 | + "matchManagers": ["pep621", "poetry", "pip_requirements"], |
| 8 | + "rangeStrategy": "pin" |
| 9 | + }, |
| 10 | + // Disable python version updates |
| 11 | + { |
| 12 | + "matchDepTypes": ["requires-python"], |
| 13 | + "enabled": false |
| 14 | + }, |
| 15 | + // Dagster Package Group |
| 16 | + { |
| 17 | + "matchManagers": ["pep621"], |
| 18 | + "matchPackageNames": [ |
| 19 | + "dagster", |
| 20 | + "dagster-*", |
| 21 | + "dbt-core", |
| 22 | + "dbt-*" |
| 23 | + ], |
| 24 | + "groupName": "dagster and dbt", |
| 25 | + "groupSlug": "dagster-dbt", |
| 26 | + // Don't separate major and minor updates for these packages, |
| 27 | + // since they are often released together and we want to update them together |
| 28 | + "separateMajorMinor": false |
| 29 | + }, |
| 30 | + { |
| 31 | + "matchManagers": ["pep621"], |
| 32 | + "matchPackageNames": [ |
| 33 | + "dagster", |
| 34 | + "dagster-*", |
| 35 | + "dbt-core", |
| 36 | + "dbt-*" |
| 37 | + ], |
| 38 | + "matchUpdateTypes": ["major"], |
| 39 | + // If it is a major update require approval in dependency dashboard before creating a PR, |
| 40 | + // since these updates can be breaking and we want to review them before updating |
| 41 | + "dependencyDashboardApproval": true |
| 42 | + }, |
| 43 | + |
| 44 | + // Create a single PR for all non-major dependency updates |
| 45 | + { |
| 46 | + "matchManagers": ["pep621", "poetry", "pip_requirements"], |
| 47 | + "matchUpdateTypes": ["patch", "minor"], |
| 48 | + // These are being handled above. |
| 49 | + "excludePackageNames": [ |
| 50 | + "dagster", |
| 51 | + "dagster-*", |
| 52 | + "dbt-core", |
| 53 | + "dbt-*" |
| 54 | + ], |
| 55 | + "groupName": "all non-major dependencies", |
| 56 | + }, |
| 57 | + // Disable automerge for major updates |
| 58 | + { |
| 59 | + "matchManagers": ["pep621", "poetry", "pip_requirements"], |
| 60 | + "matchUpdateTypes": ["major"], |
| 61 | + "automerge": false, |
| 62 | + } |
| 63 | + ] |
| 64 | +} |
0 commit comments