Skip to main content

runner_jit_configs

Creates, updates, deletes, gets or lists a runner_jit_configs resource.

Overview

Namerunner_jit_configs
TypeResource
Idgithub.actions.runner_jit_configs

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
generate_runner_jitconfig_for_repoinsertowner, repo, name, runner_group_id, labelsGenerates a configuration that can be passed to the runner application at startup.

The authenticated user must have admin access to the repository.

OAuth tokens and personal access tokens (classic) need therepo scope to use this endpoint.
generate_runner_jitconfig_for_orginsertorg, name, runner_group_id, labelsGenerates a configuration that can be passed to the runner application at startup.

The authenticated user must have admin access to the organization.

OAuth tokens and personal access tokens (classic) need theadmin:org scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
orgstringThe organization name. The name is not case sensitive.
ownerstringThe account owner of the repository. The name is not case sensitive.
repostringThe name of the repository without the .git extension. The name is not case sensitive.

INSERT examples

Generates a configuration that can be passed to the runner application at startup.

The authenticated user must have admin access to the repository.

OAuth tokens and personal access tokens (classic) need therepo scope to use this endpoint.

INSERT INTO github.actions.runner_jit_configs (
name,
runner_group_id,
labels,
work_folder,
owner,
repo
)
SELECT
'{{ name }}' /* required */,
{{ runner_group_id }} /* required */,
'{{ labels }}' /* required */,
'{{ work_folder }}',
'{{ owner }}',
'{{ repo }}'
RETURNING
encoded_jit_config,
runner
;