Skip to content

Latest commit

 

History

History
77 lines (47 loc) · 2.35 KB

File metadata and controls

77 lines (47 loc) · 2.35 KB

GitHub::Repositories::Collaborator

The Collaborators resource allows you to add, invite, and remove collaborators from a repository.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{
    "Type" : "GitHub::Repositories::Collaborator",
    "Properties" : {
        "Owner" : String,
        "Repository" : String,
        "Username" : String,
        "Permission" : String
    }
}

YAML

Type: GitHub::Repositories::Collaborator
Properties:
    Owner: String
    Repository: String
    Username: String
    Permission: String

Properties

Owner

The account owner of the repository. The name is not case sensitive.

Required: Yes

Type: String

Update requires: Replacement

Repository

The name of the repository. The name is not case sensitive.

Required: Yes

Type: String

Update requires: Replacement

Username

The login name for the GitHub user account.

Required: Yes

Type: String

Update requires: Replacement

Permission

The permission to grant the collaborator. Only valid on organization-owned repositories. In addition to the enumerated values, you can also specify a custom repository role name, if the owning organization has defined any..

Required: No

Type: String

Allowed Values: pull | push | admin | maintain | triage

Update requires: No interruption