File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,10 +22,42 @@ permissions:
2222 contents : read
2323
2424jobs :
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]
You can’t perform that action at this time.
0 commit comments