forked from kevadesu/forgejo
Fix API endpoint for registration-token (#31722)
Partially fix #31707. Related to #30656 (cherry picked from commit bf5ae79c5163b8dd6a3185711ad11893b1270f62)
This commit is contained in:
parent
2be49a3745
commit
6e63afe31f
2 changed files with 34 additions and 34 deletions
|
@ -486,7 +486,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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue