|
| 1 | +{ |
| 2 | + "$schema": "https://docs.renovatebot.com/renovate-schema.json", |
| 3 | + "extends": [ |
| 4 | + "config:recommended", |
| 5 | + ":dependencyDashboard", |
| 6 | + ":semanticCommitsDisabled", |
| 7 | + ":maintainLockFilesWeekly", |
| 8 | + "schedule:weekdays" |
| 9 | + ], |
| 10 | + "baseBranches": ["main", "develop"], |
| 11 | + "timezone": "Europe/Copenhagen", |
| 12 | + "labels": ["dependencies", "renovate"], |
| 13 | + "prConcurrentLimit": 5, |
| 14 | + "prHourlyLimit": 2, |
| 15 | + "rangeStrategy": "bump", |
| 16 | + "rebaseWhen": "behind-base-branch", |
| 17 | + "platformAutomerge": true, |
| 18 | + "ignoreUnstable": true, |
| 19 | + "respectLatest": true, |
| 20 | + |
| 21 | + "vulnerabilityAlerts": { |
| 22 | + "enabled": true, |
| 23 | + "labels": ["security", "dependencies"], |
| 24 | + "automerge": true, |
| 25 | + "automergeType": "pr", |
| 26 | + "minimumReleaseAge": "0 days", |
| 27 | + "prPriority": 10, |
| 28 | + "commitMessagePrefix": "security:", |
| 29 | + "matchBaseBranches": ["main"] |
| 30 | + }, |
| 31 | + "osvVulnerabilityAlerts": true, |
| 32 | + |
| 33 | + "lockFileMaintenance": { |
| 34 | + "enabled": true, |
| 35 | + "schedule": ["before 6am on Monday"], |
| 36 | + "automerge": true, |
| 37 | + "automergeType": "pr", |
| 38 | + "commitMessageAction": "Refresh", |
| 39 | + "matchBaseBranches": ["main"] |
| 40 | + }, |
| 41 | + |
| 42 | + "composer": { "enabled": true, "ignorePlatformReqs": [] }, |
| 43 | + "npm": { "enabled": true }, |
| 44 | + "github-actions": { "enabled": true, "pinDigests": true }, |
| 45 | + "docker-compose": { "enabled": true, "pinDigests": true }, |
| 46 | + "dockerfile": { "enabled": true, "pinDigests": true }, |
| 47 | + |
| 48 | + "packageRules": [ |
| 49 | + { |
| 50 | + "description": "Hotfix: auto-merge patches/digests/lockfile on main after 7-day soak", |
| 51 | + "matchBaseBranches": ["main"], |
| 52 | + "matchUpdateTypes": [ |
| 53 | + "patch", |
| 54 | + "pin", |
| 55 | + "digest", |
| 56 | + "lockFileMaintenance" |
| 57 | + ], |
| 58 | + "automerge": true, |
| 59 | + "automergeType": "pr", |
| 60 | + "automergeStrategy": "squash", |
| 61 | + "minimumReleaseAge": "7 days" |
| 62 | + }, |
| 63 | + { |
| 64 | + "description": "Normal flow: minor/major on develop, dashboard approval, never auto-merge", |
| 65 | + "matchBaseBranches": ["develop"], |
| 66 | + "matchUpdateTypes": ["minor", "major"], |
| 67 | + "dependencyDashboardApproval": true, |
| 68 | + "automerge": false |
| 69 | + }, |
| 70 | + { |
| 71 | + "description": "Suppress minor/major against main (those belong on develop)", |
| 72 | + "matchBaseBranches": ["main"], |
| 73 | + "matchUpdateTypes": ["minor", "major"], |
| 74 | + "enabled": false |
| 75 | + }, |
| 76 | + { |
| 77 | + "description": "Suppress patches against develop (they reach develop via back-merge after release)", |
| 78 | + "matchBaseBranches": ["develop"], |
| 79 | + "matchUpdateTypes": [ |
| 80 | + "patch", |
| 81 | + "pin", |
| 82 | + "digest", |
| 83 | + "lockFileMaintenance" |
| 84 | + ], |
| 85 | + "enabled": false |
| 86 | + }, |
| 87 | + { |
| 88 | + "description": "Group Symfony patches into one PR on main", |
| 89 | + "matchBaseBranches": ["main"], |
| 90 | + "matchPackagePatterns": ["^symfony/"], |
| 91 | + "matchUpdateTypes": ["patch"], |
| 92 | + "groupName": "symfony (patch)" |
| 93 | + }, |
| 94 | + { |
| 95 | + "description": "Group Doctrine patches on main", |
| 96 | + "matchBaseBranches": ["main"], |
| 97 | + "matchPackagePatterns": ["^doctrine/"], |
| 98 | + "matchUpdateTypes": ["patch"], |
| 99 | + "groupName": "doctrine (patch)" |
| 100 | + }, |
| 101 | + { |
| 102 | + "description": "Group api-platform patches on main", |
| 103 | + "matchBaseBranches": ["main"], |
| 104 | + "matchPackagePatterns": ["^api-platform/"], |
| 105 | + "matchUpdateTypes": ["patch"], |
| 106 | + "groupName": "api-platform (patch)" |
| 107 | + }, |
| 108 | + { |
| 109 | + "description": "Never auto-bump the PHP platform requirement", |
| 110 | + "matchBaseBranches": ["develop"], |
| 111 | + "matchPackageNames": ["php"], |
| 112 | + "rangeStrategy": "in-range-only", |
| 113 | + "automerge": false, |
| 114 | + "dependencyDashboardApproval": true |
| 115 | + }, |
| 116 | + { |
| 117 | + "description": "GitHub Actions: pin digests, auto-merge digest/patch on main", |
| 118 | + "matchBaseBranches": ["main"], |
| 119 | + "matchManagers": ["github-actions"], |
| 120 | + "matchUpdateTypes": ["digest", "patch"], |
| 121 | + "automerge": true |
| 122 | + } |
| 123 | + ], |
| 124 | + |
| 125 | + "postUpdateOptions": ["composerUpdateAllDependencies"], |
| 126 | + |
| 127 | + "postUpgradeTasks": { |
| 128 | + "commands": [ |
| 129 | + "bash .github/scripts/renovate-changelog.sh \"{{{branchName}}}\" \"{{{prTitle}}}\"" |
| 130 | + ], |
| 131 | + "fileFilters": ["CHANGELOG.md"], |
| 132 | + "executionMode": "branch" |
| 133 | + } |
| 134 | +} |
0 commit comments