adapt renovate config to recommendations

This commit is contained in:
Tobias Brunner 2025-05-27 15:03:12 +02:00
parent 3976d2905b
commit e0a1197a70
No known key found for this signature in database
2 changed files with 37 additions and 24 deletions

View file

@ -28,3 +28,6 @@ jobs:
RENOVATE_PLATFORM: gitea RENOVATE_PLATFORM: gitea
RENOVATE_REPOSITORIES: ${{ github.repository }} RENOVATE_REPOSITORIES: ${{ github.repository }}
RENOVATE_GITHUB_COM_TOKEN: ${{ secrets.RENOVATE_GITHUB_TOKEN }} RENOVATE_GITHUB_COM_TOKEN: ${{ secrets.RENOVATE_GITHUB_TOKEN }}
RENOVATE_GIT_AUTHOR: "Renovate Bot <renovate@servala.app.codey.ch>"
RENOVATE_USERNAME: renovate
RENOVATE_ENABLE_PYTHON_TOOL_VERSIONS: true

View file

@ -3,40 +3,50 @@
"extends": [ "extends": [
"config:recommended" "config:recommended"
], ],
"hostRules": [
{
"matchHost": "github.com",
"token": "{{ secrets.RENOVATE_GITHUB_TOKEN }}"
}
],
"packageRules": [ "packageRules": [
{
"matchManagers": [
"pip_requirements"
],
"matchFileNames": [
"pyproject.toml",
"requirements.txt",
"requirements/*.txt"
]
},
{
"matchManagers": [
"dockerfile"
],
"matchFileNames": [
"Dockerfile",
"**/*.dockerfile",
"**/Dockerfile.*"
]
},
{ {
"matchManagers": [ "matchManagers": [
"github-actions" "github-actions"
], ],
"matchFileNames": [ "matchFileNames": [
".forgejo/workflows/*.yml", ".forgejo/workflows/*.yml",
".forgejo/workflows/*.yaml", ".forgejo/workflows/*.yaml"
".github/workflows/*.yml",
".github/workflows/*.yaml"
] ]
},
{
"matchManagers": [
"pep621"
],
"rangeStrategy": "bump"
},
{
"matchPackageNames": [
"python"
],
"matchManagers": [
"dockerfile"
],
"versioning": "docker"
} }
], ],
"python": {
"installToolchain": true
},
"labels": [ "labels": [
"dependencies" "dependencies"
] ],
"lockFileMaintenance": {
"enabled": true,
"schedule": [
"before 5am on monday"
]
},
"prConcurrentLimit": 5,
"branchConcurrentLimit": 10
} }