adapt renovate config to recommendations
This commit is contained in:
parent
3976d2905b
commit
e0a1197a70
2 changed files with 37 additions and 24 deletions
|
@ -28,3 +28,6 @@ jobs:
|
|||
RENOVATE_PLATFORM: gitea
|
||||
RENOVATE_REPOSITORIES: ${{ github.repository }}
|
||||
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
|
||||
|
|
|
@ -3,40 +3,50 @@
|
|||
"extends": [
|
||||
"config:recommended"
|
||||
],
|
||||
"hostRules": [
|
||||
{
|
||||
"matchHost": "github.com",
|
||||
"token": "{{ secrets.RENOVATE_GITHUB_TOKEN }}"
|
||||
}
|
||||
],
|
||||
"packageRules": [
|
||||
{
|
||||
"matchManagers": [
|
||||
"pip_requirements"
|
||||
],
|
||||
"matchFileNames": [
|
||||
"pyproject.toml",
|
||||
"requirements.txt",
|
||||
"requirements/*.txt"
|
||||
]
|
||||
},
|
||||
{
|
||||
"matchManagers": [
|
||||
"dockerfile"
|
||||
],
|
||||
"matchFileNames": [
|
||||
"Dockerfile",
|
||||
"**/*.dockerfile",
|
||||
"**/Dockerfile.*"
|
||||
]
|
||||
},
|
||||
{
|
||||
"matchManagers": [
|
||||
"github-actions"
|
||||
],
|
||||
"matchFileNames": [
|
||||
".forgejo/workflows/*.yml",
|
||||
".forgejo/workflows/*.yaml",
|
||||
".github/workflows/*.yml",
|
||||
".github/workflows/*.yaml"
|
||||
".forgejo/workflows/*.yaml"
|
||||
]
|
||||
},
|
||||
{
|
||||
"matchManagers": [
|
||||
"pep621"
|
||||
],
|
||||
"rangeStrategy": "bump"
|
||||
},
|
||||
{
|
||||
"matchPackageNames": [
|
||||
"python"
|
||||
],
|
||||
"matchManagers": [
|
||||
"dockerfile"
|
||||
],
|
||||
"versioning": "docker"
|
||||
}
|
||||
],
|
||||
"python": {
|
||||
"installToolchain": true
|
||||
},
|
||||
"labels": [
|
||||
"dependencies"
|
||||
],
|
||||
"lockFileMaintenance": {
|
||||
"enabled": true,
|
||||
"schedule": [
|
||||
"before 5am on monday"
|
||||
]
|
||||
},
|
||||
"prConcurrentLimit": 5,
|
||||
"branchConcurrentLimit": 10
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue