Skip to main content

Github Pull Request Template

GithubPullRequestTemplate

Defines a reusable template for GitHub pull request descriptions.

Holds a block of Markdown that GithubRepository and GithubRepositoryTemplate manifests can reference by name. When referenced, the content is written to the target repository as .github/pull_request_template.md so new pull requests are pre-filled with a standard checklist and format.

PropertyTypeDescription
apiVersionstringAPI schema version. Pins the manifest to a specific schema contract for backward-compatibility. Must be the constant lowops.manifests.v1.
kindstringResource kind discriminator. Identifies this document as a GithubPullRequestTemplate so the engine routes it to the correct defaulter, validator, computer, and executor. Must be the constant GithubPullRequestTemplate.
metadatamapClassification labels and graph linkage. Free-form key/value pairs used to classify the manifest. Certain reserved keys (e.g. name, organization) are read by the engine to resolve this manifest's identity and its parent GithubConnection in the dependency graph.
specSpecDesired pull request template. The authoritative, user-authored specification for this template. See Spec.

Spec

User-provided pull request template definition.

Carries the raw Markdown payload for the pull request template plus an optional human-readable description.

PropertyTypeDescription
descriptionstringHuman-readable description of this template. Optional free text describing the purpose of this pull request template. Not propagated onto any provisioned GitHub resource; it exists purely as documentation and as context for AI assistants reasoning about the organization's structure.
contentstringPull request template Markdown content. The Markdown body that pre-fills the description of new pull requests. A GithubRepository or GithubRepositoryTemplate references this manifest by name via its pull_request.template field; the engine then resolves this content into that repository's computed pull_request_template and materializes it as the .github/pull_request_template.md file.