From 1c16fd1967d68c76aeab6b88d7ac9a6bde1f4123 Mon Sep 17 00:00:00 2001 From: Andreas Taylor Date: Sun, 12 Nov 2023 11:21:41 -0600 Subject: [PATCH] Use unique name for reusable workflow (#2015) Co-authored-by: ChristopherHX --- pkg/runner/run_context.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/runner/run_context.go b/pkg/runner/run_context.go index 70d2f8f..a69abc6 100644 --- a/pkg/runner/run_context.go +++ b/pkg/runner/run_context.go @@ -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 }