0
0
mirror of https://github.com/renovatebot/renovate.git synced 2024-12-22 21:48:32 +00:00
renovatebot_renovate/lib/config/presets/internal/merge-confidence.ts
Gabriel-Ladzaretti 84270beec4
fix(matchConfidence): align supported datasources list with internal preset (#26420)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-12-27 08:03:30 +00:00

43 lines
966 B
TypeScript

import type { Preset } from '../types';
export const supportedDatasources = [
'go',
'maven',
'npm',
'nuget',
'packagist',
'pypi',
'rubygems',
];
export const presets: Record<string, Preset> = {
'all-badges': {
description: 'Show all Merge Confidence badges for pull requests.',
packageRules: [
{
matchDatasources: supportedDatasources,
matchUpdateTypes: ['patch', 'minor', 'major'],
prBodyColumns: [
'Package',
'Change',
'Age',
'Adoption',
'Passing',
'Confidence',
],
},
],
},
'age-confidence-badges': {
description:
'Show only the Age and Confidence Merge Confidence badges for pull requests.',
packageRules: [
{
matchDatasources: supportedDatasources,
matchUpdateTypes: ['patch', 'minor', 'major'],
prBodyColumns: ['Package', 'Change', 'Age', 'Confidence'],
},
],
},
};