mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-03 01:53:24 +08:00
Setup renovate for updating dependencies (#11565)
This commit is contained in:
46
.github/renovate.json
vendored
Normal file
46
.github/renovate.json
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"dependencyDashboard": true,
|
||||
"suppressNotifications": ["prEditedNotification"],
|
||||
"extends": ["config:base"],
|
||||
"labels": ["dependencies"],
|
||||
"pre-commit": {
|
||||
"enabled": true
|
||||
},
|
||||
"customManagers": [
|
||||
{
|
||||
"customType": "regex",
|
||||
"fileMatch": ["^pyproject.toml$"],
|
||||
"matchStrings": [
|
||||
"\\n\\[tool\\.typeshed\\]\\npyright_version\\s*=\\s*(\"|')(?<currentValue>[\\d.]*?)(\"|')\\s*?\\n"
|
||||
],
|
||||
"depNameTemplate": "pyright",
|
||||
"datasourceTemplate": "npm"
|
||||
}
|
||||
],
|
||||
"packageRules": [
|
||||
{
|
||||
"groupName": "GitHub Actions update",
|
||||
"matchManagers": ["github-actions"],
|
||||
"description": "Quarterly update of GitHub Action dependencies",
|
||||
"separateMajorMinor": "false",
|
||||
"schedule": ["every 3 months on the first day of the month"]
|
||||
},
|
||||
{
|
||||
"groupName": "Quarterly dependency update",
|
||||
"matchManagers": ["pip_requirements", "pre-commit"],
|
||||
"excludePackageNames": ["pytype", "pyright"],
|
||||
"description": "Quarterly update of most test dependencies",
|
||||
"separateMajorMinor": "false",
|
||||
"schedule": ["every 3 months on the first day of the month"]
|
||||
},
|
||||
{
|
||||
"groupName": "Daily dependency update",
|
||||
"matchManagers": ["pip_requirements", "regex"],
|
||||
"matchPackageNames": ["pytype", "pyright"],
|
||||
"description": "Daily update of pyright and pytype",
|
||||
"separateMajorMinor": "false",
|
||||
"schedule": ["daily"]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user