feat: recreate
All checks were successful
renovate / renovate (push) Successful in 5m8s

This commit is contained in:
2025-07-27 08:06:08 +02:00
parent fe2288b298
commit f9303996ab
2 changed files with 17 additions and 9 deletions

View File

@@ -14,5 +14,5 @@ jobs:
- run: renovate
env:
RENOVATE_CONFIG_FILE: "${{ gitea.workspace }}/config.js"
LOG_LEVEL: "info"
LOG_LEVEL: "debug"
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}

View File

@@ -1,11 +1,18 @@
module.exports = {
"endpoint": "https://git.cynarski.pl/api/v1",
"gitAuthor": "Renovate Bot <renovate@cynarski.pl>",
"platform": "gitea",
"onboardingConfigFileName": "renovate.json",
"autodiscover": true,
"optimizeForDisabled": true,
labels: ['renovate'], // Labels for PRs
endpoint: "https://git.cynarski.pl/api/v1",
gitAuthor: "Renovate Bot <renovate@cynarski.pl>",
platform: "gitea",
onboardingConfigFileName: "renovate.json",
autodiscover: true,
autodiscoverTopics: ["managed-by-renovate"],
recreateWhen: "always",
reuseExistingBranch: true,
dependencyDashboard: true,
onboarding: true,
prHourlyLimit: 0, // No hourly limit on PRs
prConcurrentLimit: 20, // Concurrent PR limit
branchPrefix: "update-deps/",
labels: ['renovate', 'deps'], // Labels for PRs
hostRules: [
{
"hostType": "github",
@@ -16,11 +23,12 @@ module.exports = {
{
fileMatch: ['^Dockerfile$'],
matchStrings: [
'# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+) versioning=(?<versioning>\\S+)\\s+ENV \\w+=(?<currentValue>\\d+\\.\\d+\\.\\d+)'
'# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+) versioning=(?<versioning>\\S+)\\s+ENV \\w+=(?<currentValue>v?[\\w\\.\\-]+)'
],
datasourceTemplate: '{{{datasource}}}',
packageNameTemplate: '{{{depName}}}',
versioningTemplate: '{{{versioning}}}',
extractVersionTemplate: "^v(?<version>.*)$"
}
],
};