---
title: "Get GitHub Actions permissions for a repository"
method: GET
path: "/repos/{owner}/{repo}/actions/permissions"
tags: ["actions"]
---

# Get GitHub Actions permissions for a repository

`GET /repos/{owner}/{repo}/actions/permissions`

Gets the GitHub Actions permissions policy for a repository, including whether GitHub Actions is enabled and the actions allowed to run in the repository.

You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.

## Path parameters

- `owner` string, required
- `repo` string, required

## Response `200`

Response

- ActionsRepositoryPermissions
  - `enabled` boolean, required — Whether GitHub Actions is enabled on the repository.
  - `allowed_actions` 'all' | 'local_only' | 'selected' — The permissions policy that controls the actions that are allowed to run.
  - `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`.

---

[API](https://skmtc.net/github/apis/github-v3-rest-api-6.md) · [All operations](https://skmtc.net/github/apis/github-v3-rest-api-6/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/github-v3-rest-api-6/versions/15db3fa0759b/schema)
