From f9303996abd88134bd81dc52108873f56b30693b Mon Sep 17 00:00:00 2001 From: Aleksander Cynarski Date: Sun, 27 Jul 2025 08:06:08 +0200 Subject: [PATCH] feat: recreate --- .gitea/workflows/renovate.yaml | 2 +- config.js | 24 ++++++++++++++++-------- 2 files changed, 17 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/renovate.yaml b/.gitea/workflows/renovate.yaml index 9b81abb..16dfe25 100644 --- a/.gitea/workflows/renovate.yaml +++ b/.gitea/workflows/renovate.yaml @@ -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 }} diff --git a/config.js b/config.js index 146ad69..ba49f4d 100644 --- a/config.js +++ b/config.js @@ -1,11 +1,18 @@ module.exports = { - "endpoint": "https://git.cynarski.pl/api/v1", - "gitAuthor": "Renovate Bot ", - "platform": "gitea", - "onboardingConfigFileName": "renovate.json", - "autodiscover": true, - "optimizeForDisabled": true, - labels: ['renovate'], // Labels for PRs + endpoint: "https://git.cynarski.pl/api/v1", + gitAuthor: "Renovate Bot ", + 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=(?\\S+) depName=(?\\S+) versioning=(?\\S+)\\s+ENV \\w+=(?\\d+\\.\\d+\\.\\d+)' + '# renovate: datasource=(?\\S+) depName=(?\\S+) versioning=(?\\S+)\\s+ENV \\w+=(?v?[\\w\\.\\-]+)' ], datasourceTemplate: '{{{datasource}}}', packageNameTemplate: '{{{depName}}}', versioningTemplate: '{{{versioning}}}', + extractVersionTemplate: "^v(?.*)$" } ], };