feat(presets/merge-confidence): Merge Confidence badges on-by-default for .NET, PHP and Ruby (#24221)

Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
This commit is contained in:
Justin Clareburt 2023-09-06 12:13:20 +02:00 committed by GitHub
parent 804114f716
commit b5716847ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 6 deletions

View file

@ -25,11 +25,16 @@ Merge Confidence badges for pull requests are available on any supported platfor
## Supported languages ## Supported languages
Data is available for packages from: Renovate will show Merge Confidence badges for these languages:
- npm | Language | Datasource |
- Maven | ---------- | ----------- |
- PyPI | JavaScript | `npm` |
| Java | `maven` |
| Python | `pypi` |
| .NET | `nuget` |
| PHP | `packagist` |
| Ruby | `rubygems` |
We plan to support more languages soon. We plan to support more languages soon.

View file

@ -5,7 +5,14 @@ export const presets: Record<string, Preset> = {
description: 'Show all Merge Confidence badges for pull requests.', description: 'Show all Merge Confidence badges for pull requests.',
packageRules: [ packageRules: [
{ {
matchDatasources: ['maven', 'npm', 'pypi'], matchDatasources: [
'maven',
'npm',
'nuget',
'packagist',
'pypi',
'rubygems',
],
matchUpdateTypes: ['patch', 'minor', 'major'], matchUpdateTypes: ['patch', 'minor', 'major'],
prBodyColumns: [ prBodyColumns: [
'Package', 'Package',
@ -23,7 +30,14 @@ export const presets: Record<string, Preset> = {
'Show only the Age and Confidence Merge Confidence badges for pull requests.', 'Show only the Age and Confidence Merge Confidence badges for pull requests.',
packageRules: [ packageRules: [
{ {
matchDatasources: ['maven', 'npm', 'pypi'], matchDatasources: [
'maven',
'npm',
'nuget',
'packagist',
'pypi',
'rubygems',
],
matchUpdateTypes: ['patch', 'minor', 'major'], matchUpdateTypes: ['patch', 'minor', 'major'],
prBodyColumns: ['Package', 'Change', 'Age', 'Confidence'], prBodyColumns: ['Package', 'Change', 'Age', 'Confidence'],
}, },