File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -247,11 +247,10 @@ async function main() {
247247 }
248248
249249 // Create destination directory in repo
250- // Extract the relative folder path from the branch name
251- // For branch "memory/code-metrics", use "memory/code-metrics" as the destination path
252- // This ensures the folder structure matches the branch name
253- const destMemoryPath = path . join ( workspaceDir , branchName ) ;
254- fs . mkdirSync ( destMemoryPath , { recursive : true } ) ;
250+ // Files are copied to the root of the checked-out branch (workspaceDir)
251+ // The branch name (e.g., "memory/campaigns") identifies the branch,
252+ // but files go at the branch root, not in a nested subdirectory
253+ const destMemoryPath = workspaceDir ;
255254 core . info ( `Destination directory: ${ destMemoryPath } ` ) ;
256255
257256 // Recursively scan and collect files from artifact directory
You can’t perform that action at this time.
0 commit comments