Use unique name for reusable workflow (#2015)

Co-authored-by: ChristopherHX <[email protected]>
This commit is contained in:
Andreas TaylorandChristopherHX authored and GitHub committed 2023-11-12 17:21:41 +00:00
1 parent 55b09a04cd
commit 1c16fd1967
1 file changed
+1 -1
+1 -1
View File
@@ -64,7 +64,7 @@ func (rc *RunContext) String() string {
if rc.caller != nil {
// prefix the reusable workflow with the caller job
// this is required to create unique container names
name = fmt.Sprintf("%s/%s", rc.caller.runContext.Run.JobID, name)
name = fmt.Sprintf("%s/%s", rc.caller.runContext.Name, name)
}
return name
}