Note: You can also specify a team by org_id and team_id using the route PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}.

For more information about the permission levels, see “Repository permission levels for an organization”.

To learn more, visit the GitHub documentation.

Parameters

ParameterDescription
OrgThe organization name. The name is not case sensitive.
OwnerThe account owner of the repository. The name is not case sensitive.
PermissionThe permission to grant the team on this repository. In addition to the enumerated values, you can also specify a custom repository role name, if the owning organization has defined any. If no permission is specified, the team’s permission attribute will be used to determine what permission to grant the team on this repository.
RepoThe name of the repository. The name is not case sensitive.
Team SlugThe slug of the team name.

Workflow Library Example

Set Team Repo Permissions with Github and Send Results Via Email

Preview this Workflow on desktop