# actions-repository-permissions

From **GitHub v3 REST API**.

- Type: `object`

## Properties

### `allowed_actions`

- Required: false
- Type: `string`
- Allowed values: `"all"`, `"local_only"`, `"selected"`

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

### `enabled`

- Required: true
- Type: `boolean`

Whether GitHub Actions is enabled on the repository.

### `selected_actions_url`

- Required: false
- Type: `string`

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

## JSON Schema

```json
{"properties":{"allowed_actions":{"$ref":"#/components/schemas/allowed-actions"},"enabled":{"$ref":"#/components/schemas/actions-enabled"},"selected_actions_url":{"$ref":"#/components/schemas/selected-actions-url"}},"required":["enabled"],"type":"object"}
```
