This commit is contained in:
chesterip 2024-04-23 19:09:43 -04:00
parent 8d450136f4
commit e0e094161f
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ func ToActionTask(ctx context.Context, repo *repo_model.Repository, t *actions_m
panic(fmt.Sprintf("failed to execute ActionTask.LoadAttributes(): %v", err))
}
url := fmt.Sprintf("%s%s", setting.AppURL, t.GetRunLink())
url := strings.TrimSuffix(setting.AppURL, "/") + t.GetRunLink()
return &api.ActionTask{
ID: t.ID,