Skip to content

Commit

Permalink
fix: use correct build links to steps (#1150)
Browse files Browse the repository at this point in the history
this was modified in the UI with the refactor but not updated for
sending commit statuses to the SCM
  • Loading branch information
wass3r authored Jun 24, 2024
1 parent 4fd820a commit 06eec42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scm/github/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 06eec42

Please sign in to comment.