Skip to content

Commit eb72cc8

Browse files
Martin Jacksoncursoragent
andcommitted
Inline helmlint in tag workflow and register Stakater Helm repo.
Reusable helmlint cannot add steps; helm repo add runs before ct lint so @stakater dependencies resolve on a clean runner. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 7a86161 commit eb72cc8

1 file changed

Lines changed: 33 additions & 1 deletion

File tree

.github/workflows/update-helm-repo.yml

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,42 @@ permissions:
2222
contents: read
2323

2424
jobs:
25+
# Inlined from validatedpatterns/helm-charts helmlint.yml so we can register
26+
# the Stakater repo before ct lint (reusable workflows cannot gain extra steps).
2527
helmlint:
26-
uses: validatedpatterns/helm-charts/.github/workflows/helmlint.yml@69fd10ef9199eecd093fca715ae9765c78750efc # October 6, 2025
28+
name: Lint Charts
29+
runs-on: ubuntu-latest
2730
permissions:
2831
contents: read
32+
steps:
33+
- name: Checkout
34+
uses: actions/checkout@v5
35+
with:
36+
fetch-depth: 0
37+
38+
- name: Set up Helm
39+
uses: azure/setup-helm@v4
40+
with:
41+
version: v3.12.2
42+
43+
- uses: actions/setup-python@v6
44+
with:
45+
python-version: "3.9"
46+
check-latest: true
47+
48+
- name: Set up chart-testing
49+
uses: helm/chart-testing-action@v2.7.0
50+
51+
- name: Register Helm repo for Chart.yaml dependency (@stakater)
52+
run: |
53+
set -euo pipefail
54+
helm repo add stakater https://stakater.github.io/stakater-charts --force-update
55+
56+
- name: Run chart-testing (lint)
57+
run: ct lint --target-branch ${{ github.event.repository.default_branch }}
58+
59+
- name: Run helm lint
60+
run: helm lint .
2961

3062
update-helm-repo:
3163
needs: [helmlint]

0 commit comments

Comments
 (0)