diff --git a/.forgejo/workflows/renovate.yaml b/.forgejo/workflows/renovate.yaml index 1d198f5..2f9d7d5 100644 --- a/.forgejo/workflows/renovate.yaml +++ b/.forgejo/workflows/renovate.yaml @@ -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_USERNAME: renovate + RENOVATE_ENABLE_PYTHON_TOOL_VERSIONS: true diff --git a/renovate.json b/renovate.json index 3dbec6b..93dadaa 100644 --- a/renovate.json +++ b/renovate.json @@ -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 } \ No newline at end of file