1
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-05-03 14:08:03 +00:00
gitea/templates
ChristopherHX 21b43fce08
Actions Runner rest api ()
Implements runner apis based on
https://docs.github.com/en/rest/actions/self-hosted-runners?apiVersion=2022-11-28#list-self-hosted-runners-for-an-organization

- Add Post endpoints for registration-token, google/go-github revealed
this as problem
  - We should deprecate Get Endpoints, leaving them for compatibility
- Get endpoint of admin has api path /admin/runners/registration-token
that feels wrong, /admin/actions/runners/registration-token seems more
consistent with user/org/repo api
- Get Runner Api
- List Runner Api
- Delete Runner Api

- Tests admin / user / org / repo level endpoints

Related to  (implements point 1 and 2)
Via needs discovered in , this runner api is needed to allow
cleanup of runners that are deallocated without user interaction.

---------

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-04-18 15:22:41 +00:00
..
admin Align User Details Page Header Layout with Design Specifications () 2025-04-15 01:16:33 -04:00
api/packages/pypi Fix links in PyPI Simple Repository API page () 2024-04-20 01:15:14 +00:00
base Prepare common tmpl functions in a middleware () 2025-03-25 06:17:58 +00:00
custom
devtest Fix button alignments and remove unnecessary styles () 2025-04-16 08:14:10 +00:00
explore Fix span svg layout () 2025-04-13 12:44:57 +08:00
mail
org Fix various misalignments and overflows () 2025-04-17 10:32:41 +00:00
package refactor organization menu () 2025-04-10 12:12:55 -07:00
projects Fix various misalignments and overflows () 2025-04-17 10:32:41 +00:00
repo Fix some trivial problems () 2025-04-18 22:56:50 +08:00
shared Fix button alignments and remove unnecessary styles () 2025-04-16 08:14:10 +00:00
status Add middleware for request prioritization () 2025-04-14 16:25:48 +02:00
swagger Actions Runner rest api () 2025-04-18 15:22:41 +00:00
user Fix various misalignments and overflows () 2025-04-17 10:32:41 +00:00
webhook Fix incorrect tailwind migration () 2024-03-22 20:51:29 +01:00
home.tmpl Remove urls from translations () 2024-09-02 18:36:24 +00:00
install.tmpl Replace text-align classes with tailwind () 2025-03-16 12:08:16 +00:00
post-install.tmpl Optimize the installation page () 2024-12-31 04:49:26 +00:00