GitHub v3 REST API

selected-actions-url

string

The API URL to use to get or set the actions that are allowed to run, when allowed_actions is set to selected.

actions-enterprise-permissions

object
enabled_organizationsstringrequired

The policy that controls the organizations in the enterprise that are allowed to run GitHub Actions. Can be one of: all, none, or selected.

Allowed values:allnoneselected

selected_organizations_urlstring

The API URL to use to get or set the selected organizations that are allowed to run GitHub Actions, when enabled_organizations is set to selected.

allowed_actionsstring

The permissions policy that controls the actions that are allowed to run. Can be one of: all, local_only, or selected.

Allowed values:alllocal_onlyselected

selected_actions_urlstring

The API URL to use to get or set the actions that are allowed to run, when allowed_actions is set to selected.

Example

selected-actions

object
github_owned_allowedbooleanrequired

Whether GitHub-owned actions are allowed. For example, this includes the actions in the actions organization.

patterns_allowedarray[string]required

Specifies a list of string-matching patterns to allow specific action(s). Wildcards, tags, and SHAs are allowed. For example, monalisa/octocat@*, monalisa/octocat@v2, monalisa/*."

Example

runner-groups-enterprise

object
idnumberrequired
namestringrequired
visibilitystringrequired
defaultbooleanrequired
selected_organizations_urlstring
runners_urlstringrequired
allows_public_repositoriesbooleanrequired
Example

Self hosted runner label

object

A label for a self hosted runner

idinteger

Unique identifier of the label.

namestringrequired

Name of the label.

typestring

The type of label. Read-only labels are applied automatically when the runner is configured.

Allowed values:read-onlycustom

Example