From 6735c30dcb15f9086e28bbac77b76df8d59af136 Mon Sep 17 00:00:00 2001 From: wass3r <1301201+wass3r@users.noreply.github.com> Date: Sun, 23 Jun 2024 15:10:20 -0500 Subject: [PATCH] fix: use correct build links to steps 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