branch name
This commit is contained in:
parent
0eedd6845b
commit
5194a66eb1
|
@ -223,7 +223,7 @@ jobs:
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create new branch
|
// 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}`);
|
console.log(`Creating new branch: ${branchName}`);
|
||||||
|
|
||||||
// Check if branch exists and delete it
|
// Check if branch exists and delete it
|
||||||
|
|
Loading…
Reference in New Issue