Action to lint and test installing some Helm chart(s). Mainly using helm/chart-testing-action.
- uses: hoverkraft-tech/ci-github-container/actions/helm/test-chart@e4bf7a12228a2a4b5993d2d36b99b4dd0ec80bf5 # 0.32.1
with:
# Working directory
# Default: `${{ github.workspace }}`
working-directory: ${{ github.workspace }}
# Set values for Helm chart.
# Multiple values can be set using multiline string.
# Example:
# ```
# key1=value1
# key2=value2
# ```
helm-set: ""
# List of Helm repositories to add before testing charts.
# See https://helm.sh/docs/helm/helm_repo_add/.
helm-repositories: ""
# OCI registry where to pull and push images
# Default: `ghcr.io`
oci-registry: ghcr.io
# Username used to log against the OCI registry.
# See https://github.com/docker/login-action#usage.
#
# Default: `${{ github.repository_owner }}`
oci-registry-username: ${{ github.repository_owner }}
# Password or personal access token used to log against the OCI registry.
# Can be passed in using `secrets.GITHUB_TOKEN`.
# See https://github.com/docker/login-action#usage.
#
# Default: `${{ github.token }}`
oci-registry-password: ${{ github.token }}
# Only run lint and tests on changed charts.
#
# Default: `true`
check-diff-only: "true"
# Enable linting of the Helm chart.
# See https://github.com/helm/chart-testing/blob/main/doc/ct_lint.md.
#
# Default: `true`
enable-lint: "true"
# Enable installing the Helm chart.
# See https://github.com/helm/chart-testing/blob/main/doc/ct_install.md.
#
# Default: `true`
enable-install: "true"| Input | Description | Required | Default |
|---|---|---|---|
working-directory |
Working directory | false | ${{ github.workspace }} |
helm-set |
Set values for Helm chart. | false | - |
| Multiple values can be set using multiline string. | |||
| Example: | |||
key1=value1
key2=value2 |
|||
helm-repositories |
List of Helm repositories to add before testing charts. | false | - |
| See https://helm.sh/docs/helm/helm_repo_add/. | |||
oci-registry |
OCI registry where to pull and push images | false | ghcr.io |
oci-registry-username |
Username used to log against the OCI registry. | false | ${{ github.repository_owner }} |
| See https://github.com/docker/login-action#usage. | |||
oci-registry-password |
Password or personal access token used to log against the OCI registry. | false | ${{ github.token }} |
Can be passed in using secrets.GITHUB_TOKEN. |
|||
| See https://github.com/docker/login-action#usage. | |||
check-diff-only |
Only run lint and tests on changed charts. | false | true |
enable-lint |
Enable linting of the Helm chart. | false | true |
| See https://github.com/helm/chart-testing/blob/main/doc/ct_lint.md. | |||
enable-install |
Enable installing the Helm chart. | false | true |
| See https://github.com/helm/chart-testing/blob/main/doc/ct_install.md. |
Contributions are welcome! Please see the contributing guidelines for more details.
This project is licensed under the MIT License.
SPDX-License-Identifier: MIT
Copyright © 2026 hoverkraft
For more details, see the license.
This documentation was automatically generated by CI Dokumentor.