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
The id passed in this field only sets the team with read access.
This information is not documented
This is not useful as one expects the team specified during repo creation would receive admin access, in particular as repos created by GitHub App installations because then the repo is created without any admin access to anyone.
It would be better if the parameter allowed specifying level of access.
Expected
At least document that the field only grants the team_id team read-only access.
Reproduction Steps
gh api \
--silent \
--method POST \
-H "Accept: application/vnd.github+json" \
"/orgs/$org/repos" \
-f name="some-repo" \
-F team_id="$team_id"