Github API - Test Config

POST /repos/{owner}/{repo}/actions/runners/registration-token
gists
actions
repos

Returns a token that you can pass to the config script. The token expires after one hour. You must authenticate
using an access token with the repo scope to use this endpoint.

Example using registration token

Configure your self-hosted runner, replacing TOKEN with the registration token provided by this endpoint.

./config.sh --url https://github.com/octo-org/octo-repo-artifacts --token TOKEN

Create a registration token for a repository

Arguments
key owner

owner [scalar]

The account owner of the repository. The name is not case sensitive.

API:
Github Open API
(version: 1.1.4)

key repo

repo [scalar]

The name of the repository. The name is not case sensitive.

API:
Github Open API
(version: 1.1.4)

Returns
201 application/json authentication-token

authentication-token [object]

Authentication Token

Attributes
expires_at string

The time this token expires

permissions 1917

repositories repository []

repository_selection string

Describe whether all repositories have been selected or there's a selection involved

single_file string

token string

The token used for authentication

API:
Github Open API
(version: 1.1.4)
API:
Github Open API
(version: 1.1.4)