1
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-05-04 22:48:05 +00:00
gitea/services
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
..
actions Actions Runner rest api () 2025-04-18 15:22:41 +00:00
agit Move git references checking to gitrepo packages to reduce expose of repository path () 2025-03-15 19:48:59 -07:00
asymkey Cache GPG keys, emails and users when list commits () 2025-04-09 16:34:38 +00:00
attachment Enable testifylint rules () 2025-03-31 01:53:48 -04:00
auth Enable addtional linters () 2025-04-01 10:14:01 +00:00
automerge Enable addtional linters () 2025-04-01 10:14:01 +00:00
context Fix team permission () 2025-04-08 04:15:15 +00:00
contexttest Add file tree to file view page () 2025-03-15 16:26:49 +08:00
convert Actions Runner rest api () 2025-04-18 15:22:41 +00:00
cron Use default Git timeout when checking repo health () 2025-02-14 15:13:56 +00:00
doctor Enable addtional linters () 2025-04-01 10:14:01 +00:00
externalaccount Enable addtional linters () 2025-04-01 10:14:01 +00:00
feed Enable addtional linters () 2025-04-01 10:14:01 +00:00
forms feat: Add sorting by exclusive labels (issue priority) () 2025-04-10 17:18:07 +00:00
git Cache GPG keys, emails and users when list commits () 2025-04-09 16:34:38 +00:00
gitdiff Mark parent directory as viewed when all files are viewed () 2025-04-15 22:35:22 +08:00
indexer Update issue indexer after merging a PR () 2024-05-08 14:45:15 +00:00
issue Enable addtional linters () 2025-04-01 10:14:01 +00:00
lfs Enable addtional linters () 2025-04-01 10:14:01 +00:00
mailer Enable addtional linters () 2025-04-01 10:14:01 +00:00
markup Refactor Git Attribute & performance optimization () 2025-04-11 21:41:29 +08:00
migrations Fix bug when migrating repository () 2025-04-14 04:48:03 +00:00
mirror Refactor Branch struct in package modules/git () 2025-04-02 17:31:32 +00:00
notify Add workflow_job webhook () 2025-03-11 10:40:38 -07:00
oauth2_provider Enable addtional linters () 2025-04-01 10:14:01 +00:00
org Fix bug when migrating repository () 2025-04-14 04:48:03 +00:00
packages Fix package upload temp path () 2025-04-14 18:55:02 +08:00
projects Enable addtional linters () 2025-04-01 10:14:01 +00:00
pull Uniform all temporary directories and allow customizing temp path () 2025-04-08 16:15:28 +00:00
release Enable testifylint rules () 2025-03-31 01:53:48 -04:00
repository Fix bug when migrating repository () 2025-04-14 04:48:03 +00:00
secrets Added Description Field for Secrets and Variables () 2025-03-17 19:24:54 +00:00
task Fix bug when migrating repository () 2025-04-14 04:48:03 +00:00
uinotification Penultimate round of db.DefaultContext refactor () 2023-10-11 04:24:07 +00:00
user Enable testifylint rules () 2025-03-31 01:53:48 -04:00
versioned_migration Add global lock for migrations to make upgrade more safe with multiple replications () 2025-03-07 21:08:53 +00:00
webhook Fix discord webhook 400 status code when description limit is exceeded () 2025-04-04 18:09:40 +00:00
webtheme Improve theme display () 2025-03-08 21:38:11 +00:00
wiki Uniform all temporary directories and allow customizing temp path () 2025-04-08 16:15:28 +00:00