Provide a programmable way to register a new action runner #10485

Closed
opened 2025-11-02 09:09:02 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @yardenshoham on GitHub (Mar 22, 2023).

Feature Description

I wish there was an API endpoint I could query to retrieve a token I could register a new runner with. Currently, the only way to do this is to go to the web UI and copy the token from the page.

Originally created by @yardenshoham on GitHub (Mar 22, 2023). ### Feature Description I wish there was an API endpoint I could query to retrieve a token I could register a new runner with. Currently, the only way to do this is to go to the web UI and copy the token from the page.
GiteaMirror added the topic/gitea-actionstype/enhancementtype/proposal labels 2025-11-02 09:09:02 -06:00
Author
Owner

@wolfogre commented on GitHub (Mar 23, 2023):

I remember I have discussed it with Lunny privately before, and the consensus is providing reusable token to register multiple runners, or you still need an auth token to use API.

Or we can provide reusable token to register multiple runners when you need an API auth token which can only obtain tokens to register runners.

Reusable tokens are feasible both in design and technology, you can even do this by modifying the status of tokens in database manually.

@wolfogre commented on GitHub (Mar 23, 2023): ~I remember I have discussed it with Lunny privately before, and the consensus is providing reusable token to register multiple runners, or you still need an auth token to use API.~ Or we can provide reusable token to register multiple runners when you need an API auth token which can only obtain tokens to register runners. Reusable tokens are feasible both in design and technology, you can even do this by modifying the status of tokens in database manually.
Author
Owner

@wolfogre commented on GitHub (Mar 23, 2023):

To be clear, I have no objection to having API to manage runners like listing, registering and removing.

@wolfogre commented on GitHub (Mar 23, 2023): To be clear, I have no objection to having API to manage runners like listing, registering and removing.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#10485