|
| 1 | +{ |
| 2 | + "$schema": "https://docs.renovatebot.com/renovate-schema.json", |
| 3 | + "extends": [ |
| 4 | + "config:recommended", |
| 5 | + ":disableDependencyDashboard", |
| 6 | + ":semanticCommits" |
| 7 | + ], |
| 8 | + "schedule": ["before 6am on Monday"], |
| 9 | + "timezone": "America/New_York", |
| 10 | + "labels": ["dependencies"], |
| 11 | + "minimumReleaseAge": "3 days", |
| 12 | + "packageRules": [ |
| 13 | + { |
| 14 | + "description": "Disable Go version upgrades in go.mod (go directive and toolchain directive)", |
| 15 | + "matchManagers": ["gomod"], |
| 16 | + "matchDepNames": ["go"], |
| 17 | + "enabled": false |
| 18 | + }, |
| 19 | + { |
| 20 | + "description": "Disable go-version upgrades in GitHub Actions (actions/setup-go)", |
| 21 | + "matchManagers": ["github-actions"], |
| 22 | + "matchDepNames": ["go"], |
| 23 | + "enabled": false |
| 24 | + }, |
| 25 | + { |
| 26 | + "description": "Group all Go dependencies (excluding k8s core, which has its own cadence)", |
| 27 | + "matchManagers": ["gomod"], |
| 28 | + "excludePackageNames": [ |
| 29 | + "sigs.k8s.io/controller-runtime", |
| 30 | + "k8s.io/apimachinery" |
| 31 | + ], |
| 32 | + "groupName": "Go dependencies", |
| 33 | + "groupSlug": "go-deps" |
| 34 | + }, |
| 35 | + { |
| 36 | + "description": "k8s core — grouped, slower cadence", |
| 37 | + "matchManagers": ["gomod"], |
| 38 | + "matchPackageNames": [ |
| 39 | + "sigs.k8s.io/controller-runtime", |
| 40 | + "k8s.io/apimachinery" |
| 41 | + ], |
| 42 | + "groupName": "k8s core libraries", |
| 43 | + "groupSlug": "k8s-core", |
| 44 | + "schedule": ["before 6am on the first day of the month"] |
| 45 | + }, |
| 46 | + { |
| 47 | + "description": "Group all GitHub Actions version bumps", |
| 48 | + "matchManagers": ["github-actions"], |
| 49 | + "groupName": "GitHub Actions", |
| 50 | + "groupSlug": "gha" |
| 51 | + }, |
| 52 | + { |
| 53 | + "description": "Automerge patch/minor for non-k8s Go deps", |
| 54 | + "matchManagers": ["gomod"], |
| 55 | + "matchUpdateTypes": ["patch", "minor"], |
| 56 | + "excludePackageNames": [ |
| 57 | + "sigs.k8s.io/controller-runtime", |
| 58 | + "k8s.io/apimachinery" |
| 59 | + ], |
| 60 | + "automerge": true, |
| 61 | + "automergeType": "pr", |
| 62 | + "platformAutomerge": true |
| 63 | + }, |
| 64 | + { |
| 65 | + "description": "Never automerge majors", |
| 66 | + "matchUpdateTypes": ["major"], |
| 67 | + "automerge": false, |
| 68 | + "labels": ["dependencies", "major-update"] |
| 69 | + } |
| 70 | + ], |
| 71 | + "vulnerabilityAlerts": { |
| 72 | + "enabled": true, |
| 73 | + "labels": ["security"], |
| 74 | + "schedule": ["at any time"] |
| 75 | + }, |
| 76 | + "constraints": { |
| 77 | + "go": "1.26" |
| 78 | + }, |
| 79 | + "prConcurrentLimit": 5, |
| 80 | + "prHourlyLimit": 2 |
| 81 | +} |
0 commit comments