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

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

No files matched your search

+1
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)
})
}