1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Always show the "rerun" button for action jobs (#33692)

And improve the mock code.
This commit is contained in:
wxiaoguang
2025-02-24 16:40:46 +08:00
committed by GitHub
parent adf7018bfd
commit 555d64d024
4 changed files with 46 additions and 14 deletions

View File

@@ -1634,6 +1634,7 @@ func registerRoutes(m *web.Router) {
m.Any("", devtest.List)
m.Any("/fetch-action-test", devtest.FetchActionTest)
m.Any("/{sub}", devtest.Tmpl)
m.Get("/repo-action-view/{run}/{job}", devtest.MockActionsView)
m.Post("/actions-mock/runs/{run}/jobs/{job}", web.Bind(actions.ViewRequest{}), devtest.MockActionsRunsJobs)
})
}