mirror of
https://github.com/go-gitea/gitea.git
synced 2025-07-20 16:58:31 +02:00
update
This commit is contained in:
parent
894ef938af
commit
d7be8677d4
@ -87,11 +87,11 @@ func ViewWorkflowFile(ctx *context_module.Context) {
|
|||||||
}
|
}
|
||||||
for _, entry := range entries {
|
for _, entry := range entries {
|
||||||
if entry.Name() == run.WorkflowID {
|
if entry.Name() == run.WorkflowID {
|
||||||
ctx.Redirect(fmt.Sprintf("%s/src/commit/%s/%s/%s", ctx.Repo.RepoLink, run.CommitSHA, rpath, run.WorkflowID))
|
ctx.Redirect(fmt.Sprintf("%s/src/commit/%s/%s/%s", ctx.Repo.RepoLink, url.PathEscape(run.CommitSHA), util.PathEscapeSegments(rpath), url.PathEscape(run.WorkflowID)))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ctx.JSONErrorNotFound()
|
ctx.NotFound(nil)
|
||||||
}
|
}
|
||||||
|
|
||||||
type LogCursor struct {
|
type LogCursor struct {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user