From e3212c60a659888647860adc1a29352522d5cd08 Mon Sep 17 00:00:00 2001 From: dlpzx Date: Mon, 25 Sep 2023 07:43:30 +0200 Subject: [PATCH] Git branch truncate to 100 chars --- deploy/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/app.py b/deploy/app.py index 57856006b..92d58522c 100644 --- a/deploy/app.py +++ b/deploy/app.py @@ -30,7 +30,7 @@ git_branch = os.environ.get("DATAALL_REPO_BRANCH") -git_branch = re.sub('[^a-zA-Z0-9-_]', '', git_branch)[:12] if git_branch != "" else "main" +git_branch = re.sub('[^a-zA-Z0-9-_]', '', git_branch)[:99] if git_branch != "" else "main" # Configuration of the cdk.json SSM or in Repository if os.getenv("GITHUB_ACTIONS"):