losisin/Helm values.schema.json action
A GitHub action for generating json schema from multiple values files for Helm3 charts
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jul 3, 2026
- License
- MIT
Pinned Snippet
uses: losisin/helm-values-schema-json-action@cfefdf4241da6dbe17f3378e3cd0e863d4a4c3c8 # v3.0.1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| values | Input value file. Can be single or comma-separated list of yaml files | no | — |
| draft | Draft version of the schema. Accepted values are 4, 6, 7, 2019 and 2020 | no | — |
| indent | Indentation spaces (even number) | no | — |
| output | Output file name with path to store the generated schema | no | — |
| id | ID of the schema | no | — |
| ref | URI reference of the schema. Relative to CWD when using `bundle` | no | — |
| title | Title of the schema | no | — |
| description | Description of the schema | no | — |
| additionalProperties | Additional properties allowed in the schema | no | — |
| noAdditionalProperties | Additional properties allowed in the schema, including child objects | no | — |
| useHelmDocs | Read description from helm-docs comments | no | — |
| git-push | If true it will commit and push the changes (ignored if `fail-on-diff` is set) | no | false |
| git-push-user-name | If empty the name of the GitHub Actions bot will be used (i.e. `github-actions[bot]`) | no | github-actions[bot] |
| git-push-user-email | If empty the no-reply email of the GitHub Actions bot will be used (i.e. `github-actions[bot]@users.noreply.github.com`) | no | github-actions[bot]@users.noreply.github.com |
| git-commit-message | Commit message | no | update values.schema.json |
| fail-on-diff | Fail the job if there is any diff found between the generated output and existing file | no | false |
| working-directory | Working directory where the schema command should run | no | — |
| bundle | Bundle referenced (`$ref`) subschemas into a single file inside `$defs` | no | false |
| bundle-root | Root directory to allow local referenced files to be loaded from | no | . |
| bundle-without-id | Bundle without using `$id` to reference bundled schemas | no | false |
| k8s-schema-version | Version used in the `--k8sSchemaURL` template for `$ref: $k8s/...` alias | no | v1.33.1 |
| k8s-schema-url | URL template used in `$ref: $k8s/...` alias | no | https://raw.githubusercontent.com/yannh/kubernetes-json-schema/refs/heads/master/{{ .K8sSchemaVersion }}/ |
Outputs
| name | description |
|---|---|
| plugin-path | Path to the cached JSON schema binary |