fix(renovate): repair the Gitea release manager
The appVersion manager from 475df2f captures `currentVersion`, which
Renovate rejects, so it has opened no PRs here since 2026-07-21
(https://gitea.com/gitea/helm-gitea/issues/1098). Its `^...$` anchors
never match either, Renovate runs these patterns without the multiline
flag, and Gitea releases live in go-gitea/gitea on GitHub, not
gitea/gitea.
The workflow version markers move to the trailing form the shared preset
already picks up, so the local copy of that manager goes, as does
`helpers:pinGitHubActionDigests`, which the preset extends too.
HELM_UNITTEST_VERSION was never picked up because of its `#renovate:`
spelling.
Co-Authored-By: Claude (Opus 5.5) <noreply@anthropic.com>
This commit is contained in:
3 files changed
+5
-17
No files matched your search
@@ -32,7 +32,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
version: v4.3.0 # renovate: datasource=github-releases depName=helm/helm
|
version: v4.3.0 # renovate: datasource=github-releases depName=helm/helm
|
||||||
- env:
|
- env:
|
||||||
HELM_UNITTEST_VERSION: v1.0.0 #renovate: datasource=github-releases depName=helm-unittest/helm-unittest
|
HELM_UNITTEST_VERSION: v1.0.0 # renovate: datasource=github-releases depName=helm-unittest/helm-unittest
|
||||||
name: Install helm-unittest
|
name: Install helm-unittest
|
||||||
run: helm plugin install --verify=false --version "${HELM_UNITTEST_VERSION}" https://github.com/helm-unittest/helm-unittest
|
run: helm plugin install --verify=false --version "${HELM_UNITTEST_VERSION}" https://github.com/helm-unittest/helm-unittest
|
||||||
- name: Update helm dependencies
|
- name: Update helm dependencies
|
||||||
|
|||||||
@@ -20,8 +20,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Install helm
|
- name: Install helm
|
||||||
env:
|
env:
|
||||||
# renovate: datasource=docker depName=alpine/helm
|
HELM_VERSION: "3.21.3" # renovate: datasource=docker depName=alpine/helm
|
||||||
HELM_VERSION: "3.21.3"
|
|
||||||
run: |
|
run: |
|
||||||
curl --fail --location --output /dev/stdout --silent --show-error https://get.helm.sh/helm-v${HELM_VERSION}-linux-$(dpkg --print-architecture).tar.gz | tar --extract --gzip --file /dev/stdin
|
curl --fail --location --output /dev/stdout --silent --show-error https://get.helm.sh/helm-v${HELM_VERSION}-linux-$(dpkg --print-architecture).tar.gz | tar --extract --gzip --file /dev/stdin
|
||||||
mv linux-$(dpkg --print-architecture)/helm /usr/local/bin/
|
mv linux-$(dpkg --print-architecture)/helm /usr/local/bin/
|
||||||
|
|||||||
+3
-14
@@ -1,8 +1,7 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
"extends": [
|
"extends": [
|
||||||
"gitea>gitea/renovate-config",
|
"local>gitea/renovate-config",
|
||||||
"helpers:pinGitHubActionDigests",
|
|
||||||
":automergeMinor",
|
":automergeMinor",
|
||||||
"schedule:automergeDaily",
|
"schedule:automergeDaily",
|
||||||
"schedule:weekends"
|
"schedule:weekends"
|
||||||
@@ -18,16 +17,6 @@
|
|||||||
"enabled": true
|
"enabled": true
|
||||||
},
|
},
|
||||||
"customManagers": [
|
"customManagers": [
|
||||||
{
|
|
||||||
"description": "Gitea-version of https://docs.renovatebot.com/presets-regexManagers/#regexmanagersgithubactionsversions",
|
|
||||||
"customType": "regex",
|
|
||||||
"managerFilePatterns": [
|
|
||||||
"/.gitea/workflows/.+\\.ya?ml$/"
|
|
||||||
],
|
|
||||||
"matchStrings": [
|
|
||||||
"# renovate: datasource=(?<datasource>[a-z-.]+?) depName=(?<depName>[^\\s]+?)(?: (?:lookupName|packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[a-z-0-9]+?))?\\s+[A-Za-z0-9_]+?_VERSION\\s*:\\s*[\"']?(?<currentValue>.+?)[\"']?\\s"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"description": "Detect helm-unittest yaml schema file",
|
"description": "Detect helm-unittest yaml schema file",
|
||||||
"customType": "regex",
|
"customType": "regex",
|
||||||
@@ -43,13 +32,13 @@
|
|||||||
"description": "Automatically detect new Gitea releases",
|
"description": "Automatically detect new Gitea releases",
|
||||||
"customType": "regex",
|
"customType": "regex",
|
||||||
"datasourceTemplate": "github-releases",
|
"datasourceTemplate": "github-releases",
|
||||||
"depNameTemplate": "gitea/gitea",
|
"depNameTemplate": "go-gitea/gitea",
|
||||||
"extractVersionTemplate": "^v(?<version>.*)$",
|
"extractVersionTemplate": "^v(?<version>.*)$",
|
||||||
"managerFilePatterns": [
|
"managerFilePatterns": [
|
||||||
"/(^|/)Chart\\.ya?ml$/"
|
"/(^|/)Chart\\.ya?ml$/"
|
||||||
],
|
],
|
||||||
"matchStrings": [
|
"matchStrings": [
|
||||||
"^appVersion:\\s+[\"']?(?<currentVersion>\\S+)[\"']?$"
|
"(?:^|\\n)appVersion:\\s+[\"']?(?<currentValue>[^\\s\"']+)"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in new issue
Block a user