-
Notifications
You must be signed in to change notification settings - Fork 14
ISSUE-368: Renovate Drupal presets #831
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 4 commits
97611b8
83977aa
56265f2
d847b25
d33f81c
9bbd793
08e5fe0
1fd140b
bebdd29
9ab587b
534ea04
8238182
e512601
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
{ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let's not have a version specific one since we're doing the bare minimum configuration for Drupal best practices that we'll push up to Renovate defaults. |
||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
// The `renovate-updates` branch is a dedicated branch for Renovate's update | ||
// pull requests. This setup isolates automated updates from the main | ||
// codebase, ensuring safer and easier review. For more details, refer to the | ||
//"Renovate Presets" section in the README.md. | ||
"baseBranches": ["renovate-updates"], | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @deviantintegral were you expecting our preset to live in Drainpipe or was there a registry we could submit it to so more people were aware of it? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I had been thinking we'd contribute a Drupal preset upstream to Renovate itself. I don't think we should set There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @beto-aveiga Next step is to commit a very basic version of this to Renovate that only addresses things that ship with Drupal core. Evaluate what is in Avoid setting automerge. We may want to do that on our projects, but we shouldn't impose that on other projects using Drainpipe. |
||
"extends": [ | ||
":automergeDisabled", | ||
mrdavidburns marked this conversation as resolved.
Show resolved
Hide resolved
|
||
":renovatePrefix", | ||
":timezone(America/New_York)", | ||
mrdavidburns marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"config:base", | ||
"group:symfony", | ||
"schedule:automergeWeekends" | ||
mrdavidburns marked this conversation as resolved.
Show resolved
Hide resolved
|
||
], | ||
"labels": ["renovate"], | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not necessary because you can filter pull requests by authors and Renovate will always be the author by default. |
||
"packageRules": [ | ||
{ | ||
"matchManagers": ["composer"], | ||
"enabled": true | ||
}, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do not need to declare these because it won't pick up other package managers like npm with this being set. |
||
{ | ||
"matchPackagePatterns": "^.*", | ||
"matchCurrentValue": "!/^\\^.*/", | ||
"dependencyDashboardApproval": true, | ||
"addLabels": ["pinned-package"] | ||
}, | ||
mrdavidburns marked this conversation as resolved.
Show resolved
Hide resolved
|
||
{ | ||
"matchUpdateTypes": ["major"], | ||
"automerge": false, | ||
"addLabels": ["major"] | ||
}, | ||
{ | ||
"matchUpdateTypes": ["patch", "minor"], | ||
"matchCurrentVersion": "!/^0/", | ||
"automerge": true, | ||
"addLabels": ["patch/minor"] | ||
}, | ||
mrdavidburns marked this conversation as resolved.
Show resolved
Hide resolved
|
||
{ | ||
"matchUpdateTypes": ["major"], | ||
"matchPackagePatterns": ["^drupal/core-.*"], | ||
"matchPackageNames": ["drupal/core"], | ||
"groupName": "Drupal Core Major", | ||
"automerge": false, | ||
"addLabels": ["drupal-core"] | ||
}, | ||
{ | ||
"matchUpdateTypes": ["patch", "minor"], | ||
"matchPackagePatterns": ["^drupal/core-.*"], | ||
"matchPackageNames": ["drupal/core"], | ||
"groupName": "Drupal Core", | ||
mrdavidburns marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"automerge": true, | ||
"addLabels": ["drupal-core"] | ||
}, | ||
{ | ||
"matchPackagePrefixes": ["jquery"], | ||
"groupName": "jQuery packages", | ||
"addLabels": ["jquery"] | ||
}, | ||
mrdavidburns marked this conversation as resolved.
Show resolved
Hide resolved
|
||
{ | ||
"groupName": "Location modules", | ||
"matchPackagePrefixes": ["drupal/geo"], | ||
"matchManagers": ["composer"] | ||
}, | ||
{ | ||
"groupName": "Drupal Migrate", | ||
"addLabels": [ | ||
"drupal-migrate" | ||
], | ||
"matchPackageNames": [ | ||
"/^drupal/migrate-.*/" | ||
] | ||
mrdavidburns marked this conversation as resolved.
Show resolved
Hide resolved
|
||
}, | ||
{ | ||
"groupName": "Metatag modules", | ||
"matchPackageNames": [ | ||
"drupal/metatag", | ||
"drupal/schema_metatag" | ||
] | ||
}, | ||
|
||
{ | ||
"groupName": "File media", | ||
"matchPackageNames": [ | ||
"drupal/file_mdm", | ||
"drupal/imagemagick" | ||
] | ||
}, | ||
mrdavidburns marked this conversation as resolved.
Show resolved
Hide resolved
|
||
], | ||
"platform": "github", | ||
mrdavidburns marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"prConcurrentLimit": 3, | ||
"rangeStrategy": "bump", | ||
"rebaseWhen": "auto" | ||
} |
Uh oh!
There was an error while loading. Please reload this page.