---
title: "actions-repository-permissions"
url: "https://kiwi.arashsheyda.me/apis/git-hub-v3-rest-api-1/versions/4cb06d26-20a0-409c-8492-8406889b7eb4/schemas/actions-repository-permissions"
---

> Full API specification: https://kiwi.arashsheyda.me/apis/git-hub-v3-rest-api-1/versions/4cb06d26-20a0-409c-8492-8406889b7eb4.md

# actions-repository-permissions

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: GitHub v3 REST API
  version: 1.1.4
servers:
  - url: "{protocol}://{hostname}/api/v3"
    variables:
      hostname:
        description: Self-hosted Enterprise Server or Enterprise Cloud hostname
        default: HOSTNAME
      protocol:
        description: Self-hosted Enterprise Server or Enterprise Cloud protocol
        default: http
components:
  schemas:
    actions-enabled:
      type: boolean
      description: Whether GitHub Actions is enabled on the repository.
    allowed-actions:
      type: string
      description: "The permissions policy that controls the actions that are allowed
        to run. Can be one of: `all`, `local_only`, or `selected`."
      enum:
        - all
        - local_only
        - selected
    selected-actions-url:
      type: string
      description: The API URL to use to get or set the actions that are allowed to
        run, when `allowed_actions` is set to `selected`.
    actions-repository-permissions:
      type: object
      properties:
        enabled:
          $ref: "#/components/schemas/actions-enabled"
        allowed_actions:
          $ref: "#/components/schemas/allowed-actions"
        selected_actions_url:
          $ref: "#/components/schemas/selected-actions-url"
      required:
        - enabled
```
