From 03d455158dd0d5f1ad9a589db29973ac446da812 Mon Sep 17 00:00:00 2001 From: Yazdan Mohammadi Date: Mon, 21 Oct 2024 15:00:28 +0200 Subject: [PATCH] Trim space --- internal/pkg/githubapi/github.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/pkg/githubapi/github.go b/internal/pkg/githubapi/github.go index 9c9bf089..f7f2a531 100644 --- a/internal/pkg/githubapi/github.go +++ b/internal/pkg/githubapi/github.go @@ -1241,5 +1241,7 @@ func commitStatusTargetURL(commitTime time.Time) string { return targetURL } + // trim any leading/trailing whitespace + renderedURL = strings.TrimSpace(renderedURL) return renderedURL }