jcantosz/Add team to repo
Adds a teams with specified permissions levels to a repo
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Jun 20, 2024
- License
- None
Pinned Snippet
uses: jcantosz/add-teams-to-repo-action@046a4165a0c193936760f262ea025e1c5704117a # no releases — HEAD as of 2026-07-11tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| pat | The PAT used to authenticate. | no | — |
| app_id | The GitHub App ID used to authenticate. | no | — |
| app_private_key | The GitHub App private key used to authenticate. | no | — |
| app_installation_id | The GitHub App installation id used to authenticate. | no | — |
| api_url | GitHub API url. Change this if using GitHub Enterprise Server. | no | https://api.github.com |
| org | The organization with the team and the repo. | yes | — |
| repo | The name of the repo to add the team to | yes | — |
| admin_teams | Input teams to be added as admins. Expected form is a string formatted like this: "<GitHub_Team_1_Name>[:<Entra_Group_2_Name>],<GGitHub_Team_2_Name>..." | no | — |
| maintain_teams | Input teams to be added as maintainers. | no | — |
| write_teams | Input teams to be added as writers | no | — |
| triage_teams | Input teams to be added as triagers | no | — |
| read_teams | Input teams to be added as readers | no | — |
Outputs
no outputs