Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
stanlemon committed Dec 19, 2024
1 parent b7e58bb commit f6f42fe
Showing 1 changed file with 22 additions and 6 deletions.
28 changes: 22 additions & 6 deletions renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
':configMigration', // Migrate renovate configuration when necessary
'docker:pinDigests', // Pin Docker digests,
'helpers:pinGitHubActionDigests',
'group:allNonMajor',
],

// Set timezone to Indianapolis
Expand All @@ -31,6 +32,9 @@
'after 8am and before 8pm on saturday',
],

// Give everything some time to bake
minimumReleaseAge: '7 days',

// Automerge on by default via a branch
automerge: true,
automergeType: 'pr',
Expand Down Expand Up @@ -82,23 +86,35 @@
],
automergeType: 'branch',
},
// Disable updating nodejs package peer dependencies
{
// Disable updating nodejs package peer dependencies
matchDepTypes: [
'peerDependencies'
],
enabled: false
},
// Node.js updates
// The idea here is to group nvmrc updates, npm engines updates and @types/node update together
// and to try to update them after they've baked.
// Renovate tries to keep node updates to LTS, so in theory we should only see major LTS updates.
{
// Special handling for major Node.js updates
// Node.js updates
groupName: 'nodejs updates',
matchPackageNames: [
'/(?:^|/)node$/',
],
matchDatasources: [
'docker',
'node-version',
'npm',
'nvm',
],
matchDepTypes: [
'dependencies',
'devDependencies',
'engines',
],
matchUpdateTypes: [
'major',
'minor',
'patch',
],
minimumReleaseAge: '9 months',
automerge: false,
},
Expand Down

0 comments on commit f6f42fe

Please sign in to comment.