diff --git a/routers/web/web.go b/routers/web/web.go index 443a998248..d7b34d3a86 100644 --- a/routers/web/web.go +++ b/routers/web/web.go @@ -1393,7 +1393,7 @@ func registerRoutes(m *web.Route) { m.Get("", actions.List) m.Post("/disable", reqRepoAdmin, actions.DisableWorkflowFile) m.Post("/enable", reqRepoAdmin, actions.EnableWorkflowFile) - m.Post("/manual", reqRepoAdmin, actions.ManualRunWorkflow) + m.Post("/manual", reqRepoActionsWriter, actions.ManualRunWorkflow) m.Group("/runs", func() { m.Get("/latest", actions.ViewLatest)