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 3f0dc64
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -9,39 +9,46 @@
],
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,
// Lower priority due to higher risk of causing breakage.
prPriority: -30,
},
{
// Group update of direct Go dependencies.
groupName: "Go dependencies",
matchManagers: [ "gomod" ],
matchDepTypes: [ "require" ],
Expand All @@ -57,6 +64,7 @@
],
},
{
// Group update of GitHub actions dependencies.
matchManagers: [ "github-actions" ],
groupName: "GitHub action dependencies",
matchUpdateTypes: [
Expand Down

0 comments on commit 3f0dc64

Please sign in to comment.