mirror of
https://github.com/go-gitea/gitea.git
synced 2026-05-09 01:17:43 +02:00
fix clone workflow
This commit is contained in:
parent
c6bd967966
commit
7db5b850ca
@ -227,7 +227,7 @@ const cloneWorkflow = (sourceWorkflow: any) => {
|
||||
if (!sourceWorkflow) return;
|
||||
|
||||
// Generate a unique temporary ID for the cloned workflow
|
||||
const tempId = `clone-${sourceWorkflow.workflow_event}-${Date.now()}`;
|
||||
const tempId = `${sourceWorkflow.workflow_event}`;
|
||||
|
||||
// Extract base name without any parenthetical descriptions
|
||||
const baseName = (sourceWorkflow.display_name || sourceWorkflow.workflow_event || sourceWorkflow.event_id)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user