跳转到内容
Try Gitea Cloud ☁️ for 30 days → Accelerate your Development & Deploys!
Support

Get a repository's actions runner registration token

POST
/repos/{owner}/{repo}/actions/runners/registration-token
curl --request POST \
--url https://gitea.example.com/api/v1/repos/example/example/actions/runners/registration-token \
--header 'Authorization: Basic <credentials>'
owner
required
string

Owner of the repo

repo
required
string

Name of the repo

RegistrationToken is response related to registration token

Media typeapplication/json
token
string