From 7e098d833b74f3a468fdb8a8a3532217be3c94d5 Mon Sep 17 00:00:00 2001 From: Vault Automation Date: Tue, 7 Oct 2025 12:14:42 -0400 Subject: [PATCH] [VAULT-39150]actions(copy-pr): add step summary to copy PR workflow (#9828) (#9930) When we copy a Pull Request from CE to Ent we already add a status comment to the origin PR but we don't actually bubble up the information to the workflow summary. Instead, render the copy PR output as a markdown table and write it to the step summary. Signed-off-by: Ryan Cragun Co-authored-by: Ryan Cragun --- tools/pipeline/internal/cmd/github_copy_pull_request.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/pipeline/internal/cmd/github_copy_pull_request.go b/tools/pipeline/internal/cmd/github_copy_pull_request.go index e009c74d93..cc8631bbd1 100644 --- a/tools/pipeline/internal/cmd/github_copy_pull_request.go +++ b/tools/pipeline/internal/cmd/github_copy_pull_request.go @@ -67,6 +67,10 @@ func runCopyGithubPullRequestCmd(cmd *cobra.Command, args []string) error { return errors.Join(err, err1) } fmt.Println(string(b)) + case "markdown": + tbl := res.ToTable(err) + tbl.SetTitle("Copy Pull Request") + fmt.Println(tbl.RenderMarkdown()) default: fmt.Println(res.ToTable(err).Render()) }