Use unique name for reusable workflow (#2015)

Co-authored-by: ChristopherHX <christopher.homberger@web.de>
This commit is contained in:
Andreas Taylor 2023-11-12 11:21:41 -06:00 committed by GitHub
parent 55b09a04cd
commit 1c16fd1967
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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
}