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:
parent
bba318c189
commit
4112b73bb7
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user