Add Renovate for dependency management (#485)

This commit is contained in:
Franck Nijhof 2023-03-25 19:13:17 +01:00 committed by GitHub
parent 355fd9f447
commit cd109dfa60
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 13 deletions

View file

@ -1,13 +0,0 @@
---
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: daily
time: "06:00"
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: daily
time: "06:00"

20
.github/renovate.json vendored Normal file
View file

@ -0,0 +1,20 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"rebaseWhen": "behind-base-branch",
"dependencyDashboard": true,
"labels": ["dependencies", "no-stale"],
"commitMessagePrefix": "⬆️",
"commitMessageTopic": "{{depName}}",
"packageRules": [
{
"matchManagers": ["pip_requirements"],
"addLabels": ["python"],
"rangeStrategy": "pin"
},
{
"matchManagers": ["pip_requirements"],
"matchUpdateTypes": ["minor", "patch"],
"automerge": true
}
]
}