A GitHub Action that lints and tests Helm charts using the chart-testing tool.
This composite action validates Helm charts by linting their structure and installing them on a kind cluster. It only processes charts that have changed compared to the target branch.
- name: Lint and Test Charts uses: ./.github/actions/helm-lint-action with: target-branch: main
| Input | Description | Required |
|---|---|---|
target-branch | Target branch to compare against for detecting changed charts | Yes |
name: Helm Chart CI on: pull_request: push: branches: - main jobs: lint-test: runs-on: ubuntu-latest steps: - name: Lint and test Helm charts uses: ./.github/actions/helm-lint-action with: target-branch: main
The action performs the following steps:
For advanced configuration, add a ct.yaml file to your repository root. See the chart-testing documentation for available options.
This action uses the following tools: