-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Closed
Labels
Description
Description
While I can obtain a token through an "undocumented" API call, using it results in broken runner behavior.
-
Retrieving a token via
/repos/{owner}/{repo}/runners/registration-token, as referenced in${GITEA_URL}/api/swagger, returns a 404 error. -
By examining related API calls, I added
/actionsto the endpoint. This adjustment does return a token for a runner mapped to a repository, but it differs from the token displayed in the repository's Actions settings in the web UI.
Moreover, using this token allows the registration of a runner. However, it will only process the first job assigned after a restart.
Gitea Version
1.22-rootless
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
see gist
Database
SQLite