Fix API endpoint for registration-token (#31722) (#31728)

Backport #31722 by @wolfogre

Partially fix #31707. Related to #30656.

Co-authored-by: Jason Song <i@wolfogre.com>
This commit is contained in:
Giteabot
2024-07-30 02:15:07 +08:00
committed by GitHub
parent d3f0867204
commit 7b37f77f1a
2 changed files with 34 additions and 34 deletions

View File

@@ -485,7 +485,7 @@ func (Action) ListVariables(ctx *context.APIContext) {
// GetRegistrationToken returns the token to register repo runners
func (Action) GetRegistrationToken(ctx *context.APIContext) {
// swagger:operation GET /repos/{owner}/{repo}/runners/registration-token repository repoGetRunnerRegistrationToken
// swagger:operation GET /repos/{owner}/{repo}/actions/runners/registration-token repository repoGetRunnerRegistrationToken
// ---
// summary: Get a repository's actions runner registration token
// produces: