1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-24 17:44:27 +00:00

Merge branch 'api-repo-actions' of github.com:chesteripz/gitea into api-repo-actions

This commit is contained in:
chesterip 2023-08-23 10:13:45 -04:00
commit fdfc2f490f

View File

@ -996,7 +996,7 @@ func Routes() *web.Route {
}, reqRepoReader(unit.TypeCode), context.ReferencesGitRepo(true))
m.Group("/actions", func() {
m.Get("/tasks", repo.ListActionTasks)
}, reqRepoReader(unit.TypeCode), context.ReferencesGitRepo(true))
}, reqRepoReader(unit.TypeActions), context.ReferencesGitRepo(true))
m.Group("/keys", func() {
m.Combo("").Get(repo.ListDeployKeys).
Post(bind(api.CreateKeyOption{}), repo.CreateDeployKey)