Disable Python version updates for actions/setup-python from Renovate (#13758)

This commit is contained in:
Alex Waygood
2025-04-01 13:19:47 +02:00
committed by GitHub
parent d979cf4027
commit 5b6d2c93aa
+45
View File
@@ -0,0 +1,45 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"dependencyDashboard": true,
"suppressNotifications": ["prEditedNotification"],
"extends": ["config:recommended"],
"labels": ["bot: dependencies"],
"semanticCommits": "disabled",
"separateMajorMinor": false,
"prHourlyLimit": 10,
"pre-commit": {
"enabled": true
},
"packageRules": [
{
"groupName": "GitHub Actions",
"matchManagers": ["github-actions"],
"description": "Quarterly update of GitHub Action dependencies",
"schedule": ["every 3 months on the first day of the month"]
},
{
// This package rule disables updates for `actions/setup-python` Python versions:
// it's better to do these manually as there's often a reason why we can't use
// the latest Python version in CI for a specific job
groupName: "Python versions",
matchManagers: ["github-actions"],
matchPackageNames: ["python"],
description: "Disable PRs updating Python versions",
enabled: false,
},
{
"groupName": "most test/lint dependencies",
"matchManagers": ["pip_requirements", "pre-commit"],
"excludePackageNames": ["pytype", "pyright"],
"description": "Quarterly update of most test dependencies",
"schedule": ["every 3 months on the first day of the month"]
},
{
"groupName": "pytype and pyright",
"matchManagers": ["pip_requirements"],
"matchPackageNames": ["pytype", "pyright"],
"description": "Daily update of pyright and pytype",
"schedule": ["before 4am"]
}
]
}