1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-23 22:56:20 +09:00

Update renovate config to fix #31379 (#31408)

This commit is contained in:
Renaud Chaput 2024-08-14 08:53:12 +02:00 committed by GitHub
parent 0d85a79f19
commit feaf2f2437
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -87,6 +87,7 @@
}, },
{ {
// Update devDependencies every week, with one grouped PR // Update devDependencies every week, with one grouped PR
matchManagers: ['npm'],
matchDepTypes: 'devDependencies', matchDepTypes: 'devDependencies',
matchUpdateTypes: ['patch', 'minor'], matchUpdateTypes: ['patch', 'minor'],
groupName: 'devDependencies (non-major)', groupName: 'devDependencies (non-major)',
@ -95,8 +96,7 @@
{ {
// Group all eslint-related packages with `eslint` in the same PR // Group all eslint-related packages with `eslint` in the same PR
matchManagers: ['npm'], matchManagers: ['npm'],
matchPackageNames: ['eslint'], matchPackageNames: ['eslint', 'eslint-*', '@typescript-eslint/*'],
matchPackagePrefixes: ['eslint-', '@typescript-eslint/'],
matchUpdateTypes: ['patch', 'minor'], matchUpdateTypes: ['patch', 'minor'],
groupName: 'eslint (non-major)', groupName: 'eslint (non-major)',
}, },
@ -112,7 +112,8 @@
}, },
{ {
// Update @types/* packages every week, with one grouped PR // Update @types/* packages every week, with one grouped PR
matchPackagePrefixes: '@types/', matchManagers: ['npm'],
matchPackageNames: '@types/*',
matchUpdateTypes: ['patch', 'minor'], matchUpdateTypes: ['patch', 'minor'],
groupName: 'DefinitelyTyped types (non-major)', groupName: 'DefinitelyTyped types (non-major)',
extends: ['schedule:weekly'], extends: ['schedule:weekly'],
@ -129,23 +130,21 @@
{ {
// Group all RuboCop packages with `rubocop` in the same PR // Group all RuboCop packages with `rubocop` in the same PR
matchManagers: ['bundler'], matchManagers: ['bundler'],
matchPackageNames: ['rubocop'], matchPackageNames: ['rubocop', 'rubocop-*'],
matchPackagePrefixes: ['rubocop-'],
matchUpdateTypes: ['patch', 'minor'], matchUpdateTypes: ['patch', 'minor'],
groupName: 'RuboCop (non-major)', groupName: 'RuboCop (non-major)',
}, },
{ {
// Group all RSpec packages with `rspec` in the same PR // Group all RSpec packages with `rspec` in the same PR
matchManagers: ['bundler'], matchManagers: ['bundler'],
matchPackageNames: ['rspec'], matchPackageNames: ['rspec', 'rspec-*'],
matchPackagePrefixes: ['rspec-'],
matchUpdateTypes: ['patch', 'minor'], matchUpdateTypes: ['patch', 'minor'],
groupName: 'RSpec (non-major)', groupName: 'RSpec (non-major)',
}, },
{ {
// Group all opentelemetry-ruby packages in the same PR // Group all opentelemetry-ruby packages in the same PR
matchManagers: ['bundler'], matchManagers: ['bundler'],
matchPackagePrefixes: ['opentelemetry-'], matchPackageNames: ['opentelemetry-*'],
matchUpdateTypes: ['patch', 'minor'], matchUpdateTypes: ['patch', 'minor'],
groupName: 'opentelemetry-ruby (non-major)', groupName: 'opentelemetry-ruby (non-major)',
}, },