Skip to content

Commit

Permalink
Refactor lambda_handler: use a consistent branch name for feature bra…
Browse files Browse the repository at this point in the history
…nch creation instead of a timestamp-based name
  • Loading branch information
Your Name committed May 14, 2025
1 parent 206ae5b commit e78a12a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template_automation/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e78a12a

Please sign in to comment.