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
But it seems for only OAuth App that we need to scope repo permission on that.
I wonder is there a way we can do it on Github App with some kind of app token or installation token? If that we could install the new repository to the App also. It could be amazing fit to my use case.
The text was updated successfully, but these errors were encountered:
your app/installation needs the administration permission in order to create a repository in an organization. And I think you have to install the app on all your repositories.
It does not seem to be possible for user repositories
by the way this is rather a question for GitHub's platform APIs, not Octokit. I'm trying to help the best I can, but the GitHub folks monitoring https://github.community/c/github-ecosystem/37 have better insights and access to the teams working on these features.
I went through Github API and found some API that we could create a repository like:
https://docs.github.com/en/rest/reference/repos#create-a-repository-using-a-template
https://docs.github.com/en/rest/reference/repos#create-an-organization-repository
https://docs.github.com/en/rest/reference/repos#create-a-repository-for-the-authenticated-user
But it seems for only OAuth App that we need to scope
repo
permission on that.I wonder is there a way we can do it on Github App with some kind of app token or installation token? If that we could install the new repository to the App also. It could be amazing fit to my use case.
The text was updated successfully, but these errors were encountered: