Use unique name for reusable workflow (#2015)

Co-authored-by: ChristopherHX <christopher.homberger@web.de>
这个提交包含在:
Andreas Taylor 2023-11-12 11:21:41 -06:00 提交者 GitHub
父节点 55b09a04cd
当前提交 1c16fd1967
找不到此签名对应的密钥
GPG 密钥 ID: 4AEE18F83AFDEB23

查看文件

@ -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
}