0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-06-02 15:04:46 +02:00

Update routers/web/repo/actions/view.go

This commit is contained in:
wxiaoguang 2025-05-28 12:23:36 +08:00 committed by GitHub
parent bba318c189
commit 4112b73bb7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -87,7 +87,7 @@ func ViewWorkflowFile(ctx *context_module.Context) {
}
for _, entry := range entries {
if entry.Name() == run.WorkflowID {
ctx.Redirect(fmt.Sprintf("%s/src/commit/%s/%s/%s", ctx.Repo.RepoLink, url.PathEscape(run.CommitSHA), util.PathEscapeSegments(rpath), url.PathEscapeSegments(run.WorkflowID)))
ctx.Redirect(fmt.Sprintf("%s/src/commit/%s/%s/%s", ctx.Repo.RepoLink, url.PathEscape(run.CommitSHA), util.PathEscapeSegments(rpath), util.PathEscapeSegments(run.WorkflowID)))
return
}
}