ci-workflows/renovate-default.json
feibisi c8872c5bc8
Some checks failed
gitleaks 密钥泄露扫描 / gitleaks (push) Waiting to run
Go 项目 CI / ci (push) Failing after -8h1m16s
TypeScript/JS 项目 CI / ci (push) Failing after -8h1m15s
WordPress 插件 CI / ci (push) Failing after -8h1m16s
feat: 添加 Renovate 依赖更新 Bot
- renovate.yml: 定时自动发现并扫描 WenPai-org 仓库依赖更新
- renovate-default.json: 各仓库可复用的默认配置模板
- patch 自动合并,minor/major 需审核

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-17 00:56:54 +08:00

27 lines
690 B
JSON

{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended"],
"labels": ["dependencies"],
"packageRules": [
{
"description": "patch 更新自动合并",
"matchUpdateTypes": ["patch"],
"automerge": true,
"automergeType": "pr"
},
{
"description": "minor/major 更新需要审核",
"matchUpdateTypes": ["minor", "major"],
"automerge": false
},
{
"description": "开发依赖分组更新",
"matchDepTypes": ["devDependencies", "require-dev"],
"groupName": "dev dependencies"
}
],
"vulnerabilityAlerts": {
"enabled": true,
"labels": ["security"]
}
}