diff --git a/.github/renovate.json b/.github/renovate.json new file mode 100644 index 00000000..af6c5ee0 --- /dev/null +++ b/.github/renovate.json @@ -0,0 +1,67 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "enabledManagers": ["npm", "custom.regex"], + "minimumReleaseAge": "3 days", + "internalChecksFilter": "strict", + "customManagers": [ + { + "customType": "regex", + "description": "Playwright image tag in CI must match @playwright/test", + "managerFilePatterns": ["/^\\.github/workflows/ci\\.ya?ml$/"], + "matchStrings": [ + "mcr\\.microsoft\\.com/playwright:v(?\\d+\\.\\d+\\.\\d+)-noble" + ], + "datasourceTemplate": "npm", + "depNameTemplate": "@playwright/test", + "versioningTemplate": "npm" + } + ], + "packageRules": [ + { + "description": ["Do not open major or replacement PRs until approved on the dashboard"], + "matchUpdateTypes": ["major", "replacement"], + "dependencyDashboardApproval": true + }, + { + "description": [ + "Do not open Playwright PRs until approved; image and upload-artifact share a Node runtime" + ], + "matchPackageNames": ["@playwright/test"], + "dependencyDashboardApproval": true, + "groupName": "playwright" + }, + { + "description": ["Keep MUI packages together"], + "matchPackageNames": ["@mui/**"], + "matchUpdateTypes": ["major"], + "groupName": "mui" + }, + { + "description": ["Keep React and its type packages together"], + "matchPackageNames": ["react", "react-dom", "@types/react", "@types/react-dom"], + "matchUpdateTypes": ["major"], + "groupName": "react" + }, + { + "description": ["Keep FullCalendar packages together"], + "matchPackageNames": ["@fullcalendar/**"], + "matchUpdateTypes": ["major"], + "groupName": "fullcalendar" + }, + { + "description": ["Do not bump package.json engines"], + "matchDepTypes": ["engines"], + "enabled": false + }, + { + "description": ["Do not bump packageManager"], + "matchDepTypes": ["packageManager"], + "enabled": false + }, + { + "description": ["Keep TanStack Query packages on one version"], + "matchPackageNames": ["@tanstack/**"], + "groupName": "tanstack query" + } + ] +}