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
Hi I'm using a token where I have added every single permission. I'm using the Octokit package to create a team but for some reason the maintainer isn't being added. The docs say the maintainer should be added automatically as the owner of the token. However, in my case the team is created, the user is added automatically but only as a team member; which means that the code then can't add new users or remove the created teams as there is no maintainer so now it has to be an Org Admin manually updating it.
I have tried both of these snippets, both relying on the auto assigning a maintainer and explicitly stating a user and in both circumstances the user who's token is used is added to the team but the team has no maintainers.
As you can see I am added to the team but for rhyme or reason I am not the maintainer and there is no maintainer.
We are hoping to sync backstage teams with github teams, and projects created in backstage have their team members automatically assigned to a team and the repo for the backstage project automatically assigned to that team in both places.
To clarify I can create a team through the UI with myself as a maintainer.
Versions
Octokit v2.0.10
Node v16.18.0
Relevant log output
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
What happened?
Hi I'm using a token where I have added every single permission. I'm using the Octokit package to create a team but for some reason the maintainer isn't being added. The docs say the maintainer should be added automatically as the owner of the token. However, in my case the team is created, the user is added automatically but only as a team member; which means that the code then can't add new users or remove the created teams as there is no maintainer so now it has to be an Org Admin manually updating it.
I have tried both of these snippets, both relying on the auto assigning a maintainer and explicitly stating a user and in both circumstances the user who's token is used is added to the team but the team has no maintainers.
With the maintainer explicitly stated
and without
As you can see I am added to the team but for rhyme or reason I am not the maintainer and there is no maintainer.
We are hoping to sync backstage teams with github teams, and projects created in backstage have their team members automatically assigned to a team and the repo for the backstage project automatically assigned to that team in both places.
To clarify I can create a team through the UI with myself as a maintainer.
Versions
Octokit v2.0.10
Node v16.18.0
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: