mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-08-01 13:40:23 +08:00
Disable Python version updates for actions/setup-python from Renovate (#13758)
This commit is contained in:
@@ -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"]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user