From d849d821fc58c03cbc337764141045a696283cb4 Mon Sep 17 00:00:00 2001 From: James hong Date: Thu, 22 Aug 2024 15:14:53 +1000 Subject: [PATCH] fix gitlab formatting error https://gitlab.com/gitlab-org/gitlab/-/issues/472838#note_2067989367 1. replace full URL with just a run ID. --- pkg/comment_formatter/tfc_status_update.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/comment_formatter/tfc_status_update.go b/pkg/comment_formatter/tfc_status_update.go index 1439561..d5438d3 100644 --- a/pkg/comment_formatter/tfc_status_update.go +++ b/pkg/comment_formatter/tfc_status_update.go @@ -117,7 +117,7 @@ func FormatRunStatusCommentBody(tfc tfc_api.ApiClient, run *tfe.Run, rmd runstre wsName, rmd.GetAction(), run.Status, - runUrl, runUrl, + run.ID, runUrl, ) return extraInfo, topLevelNoteBody, resolveDiscussion