Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup renovate for updating dependencies #11565

Merged
merged 7 commits into from
Mar 13, 2024
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:base"],
"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",
"matchManagers": ["github-actions"],
"description": "Group all GitHub Action dependencies",
"separateMajorMinor": "false",
"schedule": ["every 3 months on the first day of the month"]
},
{
"groupName": "Monthly pip dependencies",
"matchManagers": ["pip_requirements"],
"excludePackageNames": ["mypy", "pytype", "flake8-pyi"],
"description": "Monthly update of most pip dependencies",
AlexWaygood marked this conversation as resolved.
Show resolved Hide resolved
"separateMajorMinor": "false",
"schedule": ["every 3 months on the first day of the month"]
},
{
"groupName": "Daily pip dependencies",
"matchManagers": ["pip_requirements"],
"matchPackageNames": ["pytype", "flake8-pyi"],
"description": "Daily update of certain pip dependencies",
"separateMajorMinor": "false",
"schedule": ["daily"]
},
{
"groupName": "Daily pyright update",
"matchManagers": ["regex"],
"description": "Daily update of pyright version",
"schedule": ["daily"]
}
],
"suppressNotifications": ["prEditedNotification"]
}
Loading