-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1263 from Guite/renovate/configure
Configure Renovate
- Loading branch information
Showing
1 changed file
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{ | ||
// all options: see https://docs.renovatebot.com/configuration-options/ | ||
$schema: 'https://docs.renovatebot.com/renovate-schema.json', | ||
// configuration presets to use or extend | ||
extends: ['config:base', 'group:symfony', 'docker:enableMajor'], | ||
// ignore versions with unstable SemVer | ||
ignoreUnstable: true, | ||
// when is Renovate allowed to run | ||
schedule: ['at any time'], | ||
// enforce enablement of semantic commits | ||
semanticCommits: 'enabled', | ||
// separate major or minor branches if both updates exist | ||
separateMajorMinor: true, | ||
// separate minor or patch branches if both updates exist | ||
separateMinorPatch: true, | ||
// separate branches for multiple major updates | ||
separateMultipleMajor: true, | ||
// rules for matching package names | ||
// see https://docs.renovatebot.com/configuration-options/#packagerules | ||
packageRules: [ | ||
{ | ||
matchManagers: ['composer'], | ||
rangeStrategy: 'update-lockfile', | ||
}, | ||
// group all docker updates together | ||
{ | ||
matchManagers: ['docker-compose', 'dockerfile'], | ||
groupName: 'docker', | ||
}, | ||
// group other updates with patch level | ||
{ | ||
matchManagers: ['composer'], | ||
matchUpdateTypes: ['patch'], | ||
groupName: 'composer (patch)', | ||
}, | ||
{ | ||
matchManagers: ['npm'], | ||
matchUpdateTypes: ['patch'], | ||
groupName: 'npm (patch)', | ||
}, | ||
{ | ||
matchPackagePatterns: ['^doctrine'], | ||
groupName: 'doctrine', | ||
}, | ||
], | ||
// required for Symfony Flex integration | ||
// see https://github.com/renovatebot/renovate/pull/11990 | ||
allowPlugins: true, | ||
ignorePlugins: false, | ||
} |