Skip to content

Commit

Permalink
fix: use correct build links to steps
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 committed Jun 23, 2024
1 parent 4fd820a commit 6735c30
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 6735c30

Please sign in to comment.