Switch from dependabot to renovate (#2653)

This commit is contained in:
Alex Waygood 2024-03-25 19:26:57 +00:00 committed by GitHub
parent 8587c440fe
commit f97f47a67b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 39 additions and 18 deletions

View File

@ -1,18 +0,0 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
labels: ["internal"]
groups:
artifacts:
# Group upload/download artifact updates, the versions are dependent
patterns:
- "actions/*-artifact"
- package-ecosystem: "cargo"
directory: "/"
schedule:
interval: "weekly"
labels: ["internal"]

39
.github/renovate.json5 vendored Normal file
View File

@ -0,0 +1,39 @@
{
"$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",
],
"cargo": {
// See https://docs.renovatebot.com/configuration-options/#rangestrategy
"rangeStrategy": "update-lockfile",
},
"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",
},
],
"vulnerabilityAlerts": {
"commitMessageSuffix": "",
"labels": ["internal", "security"],
},
}