feat: add Renovate regex manager and postUpgradeTasks for skill auto-sync

This commit is contained in:
openclaw committed 2026-10-13 11:16:02 +00:00
1 parent c9891ba184
commit f840ed2cf7
4 files changed
+92 -2

No files matched your search

+36
View File
@@ -0,0 +1,36 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
],
"customManagers": [
{
"customType": "regex",
"managerFilePatterns": [
"skills\\.json$"
],
"matchStrings": [
"\"//\":\\s*\"renovate:\\s*datasource=(?<datasource>[a-z-]+)\\s+depName=(?<depName>[^\\s]+)\",\\s*\"version\":\\s*\"(?<currentValue>[^\"]+)\""
]
}
],
"packageRules": [
{
"matchDatasources": [
"github-releases"
],
"matchPackageNames": [
"bitwarden/agent-access"
],
"postUpgradeTasks": {
"commands": [
"node scripts/sync-skills.mjs"
],
"fileFilters": [
"skills/**",
"skills.json"
]
}
}
]
}