Skip to main content

Github License

GithubLicense​

A reusable license template for GitHub repositories.

It holds the text of a standard license, for example Apache 2.0 or MIT, and provisions nothing on its own. GithubRepository manifests reference it by name in their license field to fill the LICENSE file.

PropertyTypeDescription
apiVersionstringAPI schema version. Must be lowops.manifests.v1.
kindstringResource kind. Must be GithubLicense.
metadatamapThe engine reads the reserved keys name and organization to resolve the identity.
specSpecDesired license template. See Spec.

Spec​

License template content.

GithubRepository manifests that reference the template write it to their LICENSE file.

PropertyTypeDescription
descriptionstringOptional description of the license template. It is informational only.
contentstringFull text of the license. The engine copies it unchanged into the LICENSE file of each GithubRepository that references this template by name.