Skip to content

Lint Helm Charts

Lint Helm Charts #707

Workflow file for this run

name: Lint Helm Charts
on:
pull_request:
paths:
- 'helm-charts/**'
permissions: # added using https://github.com/step-security/secure-repo
contents: read
jobs:
lint-test:
runs-on: ubuntu-latest
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
with:
fetch-depth: 0
- name: Set up Helm
uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 # v4.3.1
with:
version: v3.8.1
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 #v5.6.0
with:
python-version: '3.9'
check-latest: true
- name: Set up chart-testing
uses: helm/chart-testing-action@e6669bcd63d7cb57cb4380c33043eebe5d111992 #v2.6.1
- name: Run chart-testing (lint)
run: ct lint --config tests/ct.yaml --check-version-increment=${{contains(github.event.pull_request.labels.*.name, 'release')}}