Hacker News new | ask | show | jobs
by andrewfromx 1196 days ago
"To create a new repository using the GitHub API, your personal access token needs to have the repo scope or permission. This permission grants full control of private and public repositories, including the ability to create new repositories." You probably give the "repo" scope but it was phrased as just giving access to one repo.
1 comments

Vercel does not require authorization through GitHub, so it does not receive my personal access token.

Vercel does all operations with a GitHub account through its GitHub App, which the user can install on his account and give permission to access the repositories. That's why I don't understand how Vercel does create a new repository.

wait try this:

"You can see what scopes your personal access tokens have by going to the "Settings" page of your GitHub account and clicking on "Developer settings" in the left sidebar. Then click on "Personal access tokens" to see a list of your tokens.

Each token in the list will show the scopes that it has been granted. You can click on the name of a token to view its details, including its scopes."

Is there any token there with repo?

Yes, I checked, there is no any token that was granted to Vercel.