losisin/Helm values.schema.json action

A GitHub action for generating json schema from multiple values files for Helm3 charts

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 3, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: losisin/helm-values-schema-json-action@cfefdf4241da6dbe17f3378e3cd0e863d4a4c3c8 # v3.0.1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
valuesInput value file. Can be single or comma-separated list of yaml filesno
draftDraft version of the schema. Accepted values are 4, 6, 7, 2019 and 2020no
indentIndentation spaces (even number)no
outputOutput file name with path to store the generated schemano
idID of the schemano
refURI reference of the schema. Relative to CWD when using `bundle`no
titleTitle of the schemano
descriptionDescription of the schemano
additionalPropertiesAdditional properties allowed in the schemano
noAdditionalPropertiesAdditional properties allowed in the schema, including child objectsno
useHelmDocsRead description from helm-docs commentsno
git-pushIf true it will commit and push the changes (ignored if `fail-on-diff` is set)nofalse
git-push-user-nameIf empty the name of the GitHub Actions bot will be used (i.e. `github-actions[bot]`)nogithub-actions[bot]
git-push-user-emailIf empty the no-reply email of the GitHub Actions bot will be used (i.e. `github-actions[bot]@users.noreply.github.com`)nogithub-actions[bot]@users.noreply.github.com
git-commit-messageCommit messagenoupdate values.schema.json
fail-on-diffFail the job if there is any diff found between the generated output and existing filenofalse
working-directoryWorking directory where the schema command should runno
bundleBundle referenced (`$ref`) subschemas into a single file inside `$defs`nofalse
bundle-rootRoot directory to allow local referenced files to be loaded fromno.
bundle-without-idBundle without using `$id` to reference bundled schemasnofalse
k8s-schema-versionVersion used in the `--k8sSchemaURL` template for `$ref: $k8s/...` aliasnov1.33.1
k8s-schema-urlURL template used in `$ref: $k8s/...` aliasnohttps://raw.githubusercontent.com/yannh/kubernetes-json-schema/refs/heads/master/{{ .K8sSchemaVersion }}/
namedescription
plugin-pathPath to the cached JSON schema binary