Skip to content

Commit 1c16fd1

Browse files
Use unique name for reusable workflow (#2015)
Co-authored-by: ChristopherHX <christopher.homberger@web.de>
1 parent 55b09a0 commit 1c16fd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/runner/run_context.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ func (rc *RunContext) String() string {
6464
if rc.caller != nil {
6565
// prefix the reusable workflow with the caller job
6666
// this is required to create unique container names
67-
name = fmt.Sprintf("%s/%s", rc.caller.runContext.Run.JobID, name)
67+
name = fmt.Sprintf("%s/%s", rc.caller.runContext.Name, name)
6868
}
6969
return name
7070
}

0 commit comments

Comments
 (0)