Skip to content

Commit

Permalink
renovate: enable npm updates, document config
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Meyer <[email protected]>
  • Loading branch information
katexochen committed Apr 9, 2024
1 parent 35faa0c commit 818b413
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -9,39 +9,45 @@
],
commitMessagePrefix: "deps:",
commitMessageAction: "update",
prConcurrentLimit: 1,
addLabels: [ "dependencies" ],
postUpdateOptions: [
"gomodTidy",
"gomodUpdateImportPaths",
],
prConcurrentLimit: 1,
nix: { enabled: true },
npm: { enabled: true },
lockFileMaintenance: {
enabled: true,
schedule: [ "before 4am" ],
},
packageRules: [
{
// Group lockfile maintenance updates by manager
// Group lockfile maintenance updates by manager.
// https://github.com/renovatebot/renovate/discussions/28068
matchUpdateTypes: [ "lockFileMaintenance" ],
additionalBranchPrefix: "{{manager}}-",
commitMessageAction: "update",
commitMessageExtra: "{{manager}} lock file",
},
{
// Enable update of indirect Go dependencies.
// This rule should not be confused with the grouping of
// indirect Go dependencies further down.
matchManagers: [ "gomod" ],
matchDepTypes: [ "indirect" ],
enabled: true,
},
{
// Group update of indirect Go dependencies.
groupName: "Go indirect dependencies",
matchManagers: [ "gomod" ],
matchDepTypes: [ "indirect" ],
dependencyDashboardApproval: true,
prPriority: -30,
prPriority: -30, // Lower priority, higher risk of causing breakage.
},
{
// Group update of direct Go dependencies.
groupName: "Go dependencies",
matchManagers: [ "gomod" ],
matchDepTypes: [ "require" ],
Expand All @@ -57,6 +63,7 @@
],
},
{
// Group update of GitHub actions dependencies.
matchManagers: [ "github-actions" ],
groupName: "GitHub action dependencies",
matchUpdateTypes: [
Expand Down

0 comments on commit 818b413

Please sign in to comment.