From 06eec42c4d261a825428044f160c148a6aba8bb1 Mon Sep 17 00:00:00 2001 From: david may <1301201+wass3r@users.noreply.github.com> Date: Mon, 24 Jun 2024 13:57:59 -0500 Subject: [PATCH] fix: use correct build links to steps (#1150) this was modified in the UI with the refactor but not updated for sending commit statuses to the SCM --- scm/github/repo.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scm/github/repo.go b/scm/github/repo.go index 8c0a58457..d3048679a 100644 --- a/scm/github/repo.go +++ b/scm/github/repo.go @@ -411,7 +411,7 @@ func (c *client) StepStatus(ctx context.Context, u *api.User, b *api.Build, s *l client := c.newClientToken(*u.Token) context := fmt.Sprintf("%s/%s/%s", c.config.StatusContext, b.GetEvent(), s.GetReportAs()) - url := fmt.Sprintf("%s/%s/%s/%d#step:%d", c.config.WebUIAddress, org, name, b.GetNumber(), s.GetNumber()) + url := fmt.Sprintf("%s/%s/%s/%d#%d", c.config.WebUIAddress, org, name, b.GetNumber(), s.GetNumber()) var ( state string