Skip to content

Commit

Permalink
Configure Renovate (#5116)
Browse files Browse the repository at this point in the history
* Add renovate.json

* update config, remove dependabot

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Axel Guckelsberger <info@guite.de>
  • Loading branch information
renovate[bot] and Guite committed Apr 1, 2023
1 parent bd91858 commit 7aa4918
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 17 deletions.
17 changes: 0 additions & 17 deletions .github/dependabot.yml

This file was deleted.

50 changes: 50 additions & 0 deletions renovate.json5
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,
}

0 comments on commit 7aa4918

Please sign in to comment.