{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Sets the level of access that workflows outside of the repository have to actions and reusable workflows in the repository.\nThis endpoint only applies to private repositories.\nFor more information, see \"[Allowing access to components in a private repository](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#allowing-access-to-components-in-a-private-repository)\".\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.","properties":{"path":{"type":"object","properties":{"owner":{"type":"string","description":"The account owner of the repository. The name is not case sensitive."},"repo":{"type":"string","description":"The name of the repository without the `.git` extension. The name is not case sensitive."}},"required":["owner","repo"],"additionalProperties":false},"body":{"$ref":"#/definitions/actions-workflow-access-to-repository"}},"required":["path","body"],"additionalProperties":false,"definitions":{"actions-workflow-access-to-repository":{"type":"object","properties":{"access_level":{"type":"string","description":"Defines the level of access that workflows outside of the repository have to actions and reusable workflows within the\nrepository.\n\n`none` means the access is only possible from workflows in this repository. `user` level access allows sharing across user owned private repositories only. `organization` level access allows sharing across the organization.","enum":["none","user","organization"]}},"required":["access_level"]}}},"name":"Set the level of access for workflows outside of the repository","id":"github.actions.set-workflow-access-to-repository","example":{"path":{"owner":"octocat","repo":"hello-world"},"body":{"access_level":"none"}},"maxRequests":1,"summary":false}}