0
0
mirror of https://github.com/yanhao98/renovate-example.git synced 2026-02-04 16:50:34 +08:00

Add Playwright package group configuration

This commit is contained in:
严浩
2025-12-08 09:59:06 +08:00
committed by GitHub
parent 4a3eddac9d
commit 7345627c7c

View File

@@ -79,16 +79,19 @@
// "automergeType": "branch" // "automergeType": "branch"
}, },
// https://gitlab.com/gitlab-ci-utils/renovate-config/-/blob/main/presets/playwright.json?ref_type=heads
{ {
"groupName": "Playwright packages", "groupName": "Playwright packages",
"groupSlug": "playwright", "groupSlug": "playwright",
"description": "Group Playwright core and related packages", "description": "Group Playwright core and related packages",
"matchDatasources": ["docker", "npm"],
"matchPackageNames": [ "matchPackageNames": [
"mcr.microsoft.com/playwright", // CI 的 Playwright 镜像 "mcr.microsoft.com/playwright", // CI 的 Playwright 镜像
"/^@playwright\\//", // 匹配所有 @playwright/ 开头的包,例如 @playwright/test "/^@playwright\\//", // 匹配所有 @playwright/ 开头的包,例如 @playwright/test
"playwright-core", // "playwright-core", //
"playwright" // 匹配核心包 playwright "playwright" // 匹配核心包 playwright
], ],
"matchUpdateTypes": ["major", "minor", "patch", "digest"],
"minimumReleaseAge": "3 days" // 设置 Playwright 相关包的发布稳定期为 3 天 "minimumReleaseAge": "3 days" // 设置 Playwright 相关包的发布稳定期为 3 天
}, },