0
0
mirror of https://github.com/yanhao98/renovate-example.git synced 2026-02-04 21:30:35 +08:00
* chore(workflow): run weekly via schedule

* Add checkout step to workflow configuration

* Disable custom managers and commit body in default.json5

Commented out custom managers and commit body settings.
This commit is contained in:
严浩
2025-12-10 23:47:31 +08:00
committed by GitHub
parent 67a46c60e6
commit ba224d5483
6 changed files with 33 additions and 7462 deletions

View File

@@ -114,26 +114,26 @@
// major 更新需要人工确认
// { "matchUpdateTypes": ["major"], "dependencyDashboardApproval": true },
],
// "commitBody": "[skip ci]", // 根据 CI 配置调整
"customManagers": [
// https://semantic-release.gitbook.io/semantic-release/usage/installation#notes
/* === run: npx semantic-release@24.2.1 === */
{
"customType": "regex",
"description": "Update semantic-release version used by npx",
"managerFilePatterns": [ "^\\.github/workflows/[^/]+\\.ya?ml$", "^default\\.json5$" ],
"matchStrings": [ "\\srun: npx semantic-release@(?<currentValue>.*?)\\s" ],
"datasourceTemplate": "npm",
"depNameTemplate": "semantic-release"
},
{
"customType": "regex",
"description": "更新 .npmrc 中配置的 Node.js 版本。匹配 use-node-version=22.9.0",
"managerFilePatterns": [ "^\\.npmrc$" , "^default\\.json5$" ],
"matchStrings": [ "use-node-version=(?<currentValue>.*?)\\s" ],
"datasourceTemplate": "node",
"depNameTemplate": "node"
}
]
// "commitBody": "[skip ci]", // 根据 CI 配置调整
// "customManagers": [
// // https://semantic-release.gitbook.io/semantic-release/usage/installation#notes
// /* === run: npx semantic-release@24.2.1 === */
// {
// "customType": "regex",
// "description": "Update semantic-release version used by npx",
// "managerFilePatterns": [ "^\\.github/workflows/[^/]+\\.ya?ml$", "^default\\.json5$" ],
// "matchStrings": [ "\\srun: npx semantic-release@(?<currentValue>.*?)\\s" ],
// "datasourceTemplate": "npm",
// "depNameTemplate": "semantic-release"
// },
// {
// "customType": "regex",
// "description": "更新 .npmrc 中配置的 Node.js 版本。匹配 use-node-version=22.9.0",
// "managerFilePatterns": [ "^\\.npmrc$" , "^default\\.json5$" ],
// "matchStrings": [ "use-node-version=(?<currentValue>.*?)\\s" ],
// "datasourceTemplate": "node",
// "depNameTemplate": "node"
// }
// ]
}