mirror of https://github.com/astral-sh/ruff
Switch from dependabot to renovate (#10567)
This commit is contained in:
parent
f7aab5ac69
commit
9e21e5918c
|
|
@ -1,21 +0,0 @@
|
||||||
version: 2
|
|
||||||
updates:
|
|
||||||
- package-ecosystem: "github-actions"
|
|
||||||
directory: "/"
|
|
||||||
schedule:
|
|
||||||
interval: "weekly"
|
|
||||||
labels: ["internal"]
|
|
||||||
groups:
|
|
||||||
actions:
|
|
||||||
patterns:
|
|
||||||
- "*"
|
|
||||||
ignore:
|
|
||||||
# The latest versions of these are not compatible with our release workflow
|
|
||||||
- dependency-name: "actions/upload-artifact"
|
|
||||||
- dependency-name: "actions/download-artifact"
|
|
||||||
|
|
||||||
- package-ecosystem: "cargo"
|
|
||||||
directory: "/"
|
|
||||||
schedule:
|
|
||||||
interval: "weekly"
|
|
||||||
labels: ["internal"]
|
|
||||||
|
|
@ -0,0 +1,43 @@
|
||||||
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
|
"dependencyDashboard": true,
|
||||||
|
"suppressNotifications": ["prEditedNotification"],
|
||||||
|
"extends": ["config:recommended"],
|
||||||
|
"labels": ["internal"],
|
||||||
|
"schedule": ["before 4am on Monday"],
|
||||||
|
"separateMajorMinor": false,
|
||||||
|
"enabledManagers": [
|
||||||
|
"github-actions",
|
||||||
|
"pre-commit",
|
||||||
|
"cargo",
|
||||||
|
"pep621",
|
||||||
|
"npm",
|
||||||
|
],
|
||||||
|
"pep621": {
|
||||||
|
"fileMatch": [
|
||||||
|
"^(python|scripts)/.*pyproject\\.toml$",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
"npm": {
|
||||||
|
"fileMatch": [
|
||||||
|
"^playground/.*package\\.json$",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
"pre-commit": {
|
||||||
|
"enabled": true,
|
||||||
|
},
|
||||||
|
"packageRules": [
|
||||||
|
{
|
||||||
|
// Group upload/download artifact updates, the versions are dependent
|
||||||
|
"groupName": "Artifact GitHub Actions dependencies",
|
||||||
|
"matchManagers": ["github-actions"],
|
||||||
|
"matchPackagePatterns": ["actions/.*-artifact"],
|
||||||
|
"description": "Weekly update of artifact-related GitHub Actions dependencies",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"groupName": "pre-commit dependencies",
|
||||||
|
"matchManagers": ["pre-commit"],
|
||||||
|
"description": "Weekly update of pre-commit dependencies",
|
||||||
|
},
|
||||||
|
]
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue