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

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

# selected-actions

## 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:
    selected-actions:
      type: object
      properties:
        github_owned_allowed:
          type: boolean
          description: Whether GitHub-owned actions are allowed. For example, this
            includes the actions in the `actions` organization.
        patterns_allowed:
          type: array
          description: 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/*`."
          items:
            type: string
      required:
        - github_owned_allowed
        - patterns_allowed
```
