From 32ba32fcceab125c2e002fcdaf67cb10fecab8c2 Mon Sep 17 00:00:00 2001 From: Abhishek Rai Date: Sat, 22 Aug 2026 19:11:56 -0700 Subject: [PATCH 1/2] Align Helm Redis dependency with Chart.lock. helm dependency build fails the deep lane because Chart.yaml still pins Bitnami Redis at 0.0.7 while Chart.lock already records 23.1.1. Co-authored-by: Cursor From 35994774855f8f0e719061e44baf4d5ba9e927a2 Mon Sep 17 00:00:00 2001 From: Abhishek Rai Date: Sat, 22 Aug 2026 19:14:48 -0700 Subject: [PATCH 2/2] Pin Bitnami Redis chart to 23.1.1 and stop the hook from overwriting it. The pre-commit sed matched every version: line, so it reset the Redis dependency back to 0.0.7 and produced an empty commit. Co-authored-by: Cursor --- .github/hooks/pre-commit | 8 ++++---- helm/promgithub/Chart.yaml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/hooks/pre-commit b/.github/hooks/pre-commit index 9c6fd19..7f4563e 100755 --- a/.github/hooks/pre-commit +++ b/.github/hooks/pre-commit @@ -10,12 +10,12 @@ source ./version # Update chart version if sed --version > /dev/null; then # Using GNU sed (Linux) - sed -i "s/version: .*/version: $VERSION/" helm/promgithub/Chart.yaml - sed -i "s/appVersion: .*/appVersion: \"$VERSION\"/" helm/promgithub/Chart.yaml + sed -i "s/^version: .*/version: $VERSION/" helm/promgithub/Chart.yaml + sed -i "s/^appVersion: .*/appVersion: \"$VERSION\"/" helm/promgithub/Chart.yaml else # Using BSD sed (macOS) - sed -i '' "s/version: .*/version: $VERSION/" helm/promgithub/Chart.yaml - sed -i '' "s/appVersion: .*/appVersion: \"$VERSION\"/" helm/promgithub/Chart.yaml + sed -i '' "s/^version: .*/version: $VERSION/" helm/promgithub/Chart.yaml + sed -i '' "s/^appVersion: .*/appVersion: \"$VERSION\"/" helm/promgithub/Chart.yaml fi # Run go fmt to format the source code diff --git a/helm/promgithub/Chart.yaml b/helm/promgithub/Chart.yaml index e284307..9d99f6d 100644 --- a/helm/promgithub/Chart.yaml +++ b/helm/promgithub/Chart.yaml @@ -13,6 +13,6 @@ appVersion: "0.0.7" dependencies: - name: redis - version: 0.0.7 + version: 23.1.1 repository: "oci://registry-1.docker.io/bitnamicharts" condition: redis.enabled