From 7f90df2431ca3dc8be536fa413052659e5cf7589 Mon Sep 17 00:00:00 2001 From: Vigneshraj Sekar Babu Date: Thu, 12 Mar 2026 09:41:58 -0700 Subject: [PATCH] docs: add branchName and repoName as general template variables Documents the new `{{{branchName}}}` and `{{{repoName}}}` template variables introduced in GoodRxOSS/lifecycle#129. Co-Authored-By: Claude Sonnet 4.6 --- src/pages/docs/features/_meta.ts | 2 +- src/pages/docs/features/template-variables.mdx | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/pages/docs/features/_meta.ts b/src/pages/docs/features/_meta.ts index c832c77c..c17269ac 100644 --- a/src/pages/docs/features/_meta.ts +++ b/src/pages/docs/features/_meta.ts @@ -47,5 +47,5 @@ export default { }, "mcp-integration": { "title": "MCP Integration" - }, + } }; \ No newline at end of file diff --git a/src/pages/docs/features/template-variables.mdx b/src/pages/docs/features/template-variables.mdx index 998e042a..a018bb70 100644 --- a/src/pages/docs/features/template-variables.mdx +++ b/src/pages/docs/features/template-variables.mdx @@ -7,6 +7,7 @@ tags: - publicUrl - sha - branchName + - repoName - UUID - internalHostname - review @@ -27,6 +28,8 @@ The following template variables are available for use within your configuration - **`{{{buildUUID}}}`** - The unique identifier for the Lifecycle environment, e.g., `lively-down-881123`. - **`{{{namespace}}}`** - Namespace for the deployments, e.g., `env-lively-down-881123`. - **`{{{pullRequestNumber}}}`** - The GitHub pull request number associated with the environment. +- **`{{{branchName}}}`** - The branch name of the pull request that triggered the environment. +- **`{{{repoName}}}`** - The full repository name (e.g., `org/repo`) associated with the environment. ### Service-Specific Variables