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
Data is available for packages from:
Renovate will show Merge Confidence badges for these languages:
- npm
- Maven
- PyPI
| Language | Datasource |
| ---------- | ----------- |
| JavaScript | `npm` |
| Java | `maven` |
| Python | `pypi` |
| .NET | `nuget` |
| PHP | `packagist` |
| Ruby | `rubygems` |
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.',
packageRules: [
{
matchDatasources: ['maven', 'npm', 'pypi'],
matchDatasources: [
'maven',
'npm',
'nuget',
'packagist',
'pypi',
'rubygems',
],
matchUpdateTypes: ['patch', 'minor', 'major'],
prBodyColumns: [
'Package',
@ -23,7 +30,14 @@ export const presets: Record<string, Preset> = {
'Show only the Age and Confidence Merge Confidence badges for pull requests.',
packageRules: [
{
matchDatasources: ['maven', 'npm', 'pypi'],
matchDatasources: [
'maven',
'npm',
'nuget',
'packagist',
'pypi',
'rubygems',
],
matchUpdateTypes: ['patch', 'minor', 'major'],
prBodyColumns: ['Package', 'Change', 'Age', 'Confidence'],
},