Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,21 @@
"github>DevSecNinja/.github//.renovate/packageRules.json5",
"github>DevSecNinja/.github//.renovate/semanticCommits.json5",
],
// pre-commit runs in the devcontainer (post-create.sh) and before every
// commit, but Renovate's pre-commit manager is off by default, so the hook
// revs in .pre-commit-config.yaml were never updated.
"pre-commit": {
enabled: true,
},
customManagers: [
{
// The pre-commit manager only updates Python additional_dependencies;
// this covers npm ones, e.g. ["@biomejs/biome@2.3.10"].
customType: "regex",
description: "Update npm additional_dependencies in .pre-commit-config.yaml",
managerFilePatterns: ["/(^|/)\\.pre-commit-config\\.ya?ml$/"],
matchStrings: ["additional_dependencies:\\s*\\[\\s*\"(?<depName>@?[a-z0-9][\\w./-]*)@(?<currentValue>\\d+\\.\\d+\\.\\d+[^\"]*)\""],
datasourceTemplate: "npm",
},
],
}
Loading