Skip to content

Commit b2679b6

Browse files
vigneshrajsbclaude
andauthored
docs: add branchName and repoName as general template variables (#24)
Documents the new `{{{branchName}}}` and `{{{repoName}}}` template variables introduced in GoodRxOSS/lifecycle#129. Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 407ad8c commit b2679b6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/pages/docs/features/template-variables.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ tags:
77
- publicUrl
88
- sha
99
- branchName
10+
- repoName
1011
- UUID
1112
- internalHostname
1213
- review
@@ -27,6 +28,8 @@ The following template variables are available for use within your configuration
2728
- **`{{{buildUUID}}}`** - The unique identifier for the Lifecycle environment, e.g., `lively-down-881123`.
2829
- **`{{{namespace}}}`** - Namespace for the deployments, e.g., `env-lively-down-881123`.
2930
- **`{{{pullRequestNumber}}}`** - The GitHub pull request number associated with the environment.
31+
- **`{{{branchName}}}`** - The branch name of the pull request that triggered the environment.
32+
- **`{{{repoName}}}`** - The full repository name (e.g., `org/repo`) associated with the environment.
3033

3134
### Service-Specific Variables
3235

0 commit comments

Comments
 (0)