forked from forgejo/forgejo
[CLI] implement forgejo-cli actions register (squash) no private
Do not go through the private API, directly modify the database (cherry picked from commit1ba7c0d39d
) (cherry picked from commitffe4059b38
)
This commit is contained in:
parent
e7304c0d8e
commit
8a6e6e70ae
4 changed files with 21 additions and 55 deletions
|
@ -56,7 +56,6 @@ func Routes() *web.Route {
|
|||
// Since internal API will be sent only from Gitea sub commands and it's under control (checked by InternalToken), we can trust the headers.
|
||||
r.Use(chi_middleware.RealIP)
|
||||
|
||||
r.Post("/actions/register", ActionsRunnerRegister)
|
||||
r.Post("/ssh/authorized_keys", AuthorizedPublicKeyByContent)
|
||||
r.Post("/ssh/{id}/update/{repoid}", UpdatePublicKeyInRepo)
|
||||
r.Post("/ssh/log", bind(private.SSHLogOption{}), SSHLog)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue