Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs]: Fix typos in github_repository_collaborators docs #1936

Merged
merged 1 commit into from
Oct 5, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions website/docs/r/repository_collaborators.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ resource "github_repository" "some_repo" {
name = "some-repo"
}

resource "github_repository_collaborators" "a_repo_collaborators" {
resource "github_repository_collaborators" "some_repo_collaborators" {
repository = github_repository.some_repo.name

user {
Expand All @@ -65,12 +65,12 @@ resource "github_repository_collaborators" "a_repo_collaborators" {
The following arguments are supported:

* `repository` - (Required) The GitHub repository
* `user` - (Optional) List of uses
* `user` - (Optional) List of users
* `team` - (Optional) List of teams

The `user` block supports:

* `usernames` - (Required) The user to add to the repository as a collaborator.
* `username` - (Required) The user to add to the repository as a collaborator.
* `permission` - (Optional) The permission of the outside collaborators for the repository.
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.
Must be `push` for personal repositories. Defaults to `push`.
Expand Down