From 475df2f4a51736d90126ec83d5a5f31ebc3b79d7 Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Mon, 20 Jul 2026 18:25:49 +0200 Subject: [PATCH] fix(renovate): define renovate data source as template attributes for gitea releases --- Chart.yaml | 1 - renovate.json5 | 7 +++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Chart.yaml b/Chart.yaml index e3115fb..cc15d9e 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -3,7 +3,6 @@ name: gitea description: Gitea Helm chart for Kubernetes type: application version: 0.0.0 -# renovate datasource=github-releases depName=go-gitea/gitea extractVersion=^v(?.*)$ appVersion: 1.27.0 icon: https://gitea.com/assets/img/logo.svg diff --git a/renovate.json5 b/renovate.json5 index dd95b6f..036895b 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -42,11 +42,14 @@ { description: "Automatically detect new Gitea releases", customType: "regex", + datasourceTemplate: "github-releases", + depNameTemplate: "gitea/gitea", + extractVersionTemplate: "^v(?.*)$", managerFilePatterns: [ - "/(^|/)Chart\\.yaml$/", + "/(^|/)Chart\\.ya?ml$/", ], matchStrings: [ - "# renovate datasource=(?\\S+) depName=(?\\S+) extractVersion=(?\\S+)\\nappVersion:\\s?(?\\S+)\\n", + "^appVersion:\\s+[\"']?(?\\S+)[\"']?$", ], }, ],