From e78a12a64ae863dbd84011c3544b7765611e8a7e Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 14 May 2025 16:37:56 -0400 Subject: [PATCH] Refactor lambda_handler: use a consistent branch name for feature branch creation instead of a timestamp-based name --- template_automation/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template_automation/app.py b/template_automation/app.py index fadfefc..1e3624e 100644 --- a/template_automation/app.py +++ b/template_automation/app.py @@ -195,7 +195,7 @@ def lambda_handler(event: dict, context) -> dict: logger.info("Continuing with repository setup even though template copying failed") # Create feature branch for template configuration - feature_branch = f"template-config-{int(time.time())}" + feature_branch = "repo-init" # Use consistent branch name instead of timestamp-based name github.create_branch(repo_name, feature_branch, from_ref=default_branch) # Write template configuration