---
title: "Get allowed actions and reusable workflows for a repository"
method: GET
path: "/repos/{owner}/{repo}/actions/permissions/selected-actions"
tags: ["actions"]
---

# Get allowed actions and reusable workflows for a repository

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

Gets the settings for selected actions and reusable workflows that are allowed in a repository. To use this endpoint, the repository policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository)."

OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.

## Path parameters

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

## Response `200`

Response

- SelectedActions
  - `github_owned_allowed` boolean — Whether GitHub-owned actions are allowed. For example, this includes the actions in the `actions` organization.
  - `verified_allowed` boolean — Whether actions from GitHub Marketplace verified creators are allowed. Set to `true` to allow all actions by GitHub Marketplace verified creators.
  - `patterns_allowed` string[] — Specifies a list of string-matching patterns to allow specific action(s) and reusable workflow(s). Wildcards, tags, and SHAs are allowed. For example, `monalisa/octocat@*`, `monalisa/octocat@v2`, `monalisa/*`.

---

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