From 5194a66eb1c66f69cf1183075cec3ae82063eebc Mon Sep 17 00:00:00 2001 From: f Date: Mon, 6 Jan 2025 01:59:22 +0300 Subject: [PATCH] branch name --- .github/workflows/ai_bot.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ai_bot.yml b/.github/workflows/ai_bot.yml index b79f52f..b92b90c 100644 --- a/.github/workflows/ai_bot.yml +++ b/.github/workflows/ai_bot.yml @@ -223,7 +223,7 @@ jobs: } // Create new branch - const branchName = `prompt/batch-${Date.now()}`; + const branchName = `prompt/${prompts.map(p => p.actName.toLowerCase().replace(/[^a-z0-9]+/g, '-')).join('-')}`; console.log(`Creating new branch: ${branchName}`); // Check if branch exists and delete it