Add a team to a repository

repo_add_team(repo, team, permission = c("push", "pull", "admin"))

Arguments

repo

Character. Address of repository in "owner/name" format.

team

Character. Team name.

permission

Character. Permission to be granted to team for repo ("push", "pull", or "admin"), defaults to "push".

  • pull - can pull, but not push to or administer this repository.

  • push - can pull and push, but not administer this repository.

  • admin - can pull, push and administer this repository.