You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/docs/r/repository_collaborator.html.markdown
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ The following arguments are supported:
44
44
*`repository` - (Required) The GitHub repository
45
45
*`username` - (Required) The user to add to the repository as a collaborator.
46
46
*`permission` - (Optional) The permission of the outside collaborator for the repository.
47
-
Must be one of `pull`, `push`, `maintain`, `triage` or `admin` for organization-owned repositories.
47
+
Must be one of `pull`, `push`, `maintain`, `triage` or `admin`or the name of an existing [custom repository role](https://docs.github.com/en/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/managing-custom-repository-roles-for-an-organization) within the organization for organization-owned repositories.
48
48
Must be `push` for personal repositories. Defaults to `push`.
49
49
*`permission_diff_suppression` - (Optional) Suppress plan diffs for `triage` and `maintain`. Defaults to `false`.
50
50
@@ -60,4 +60,4 @@ GitHub Repository Collaborators can be imported using an ID made up of `reposito
0 commit comments