GitReleaseManager icon indicating copy to clipboard operation
GitReleaseManager copied to clipboard

Document GitHub Personal Access Token usage

Open cd21h opened this issue 5 years ago • 5 comments

Document creation and minimum scopes required for GitHub PAT to use with GitReleaseManager.

cd21h avatar Dec 28 '20 17:12 cd21h

I assigned following scopes, it works

  1. repo:status Access commit status
  2. repo_deployment Access deployment status
  3. public_repo Access public repositories

cd21h avatar Dec 28 '20 17:12 cd21h

Hmmm, I would be surprised if deployment was required. Are you on a position to confirm? Or did you need to add this before it would work?

gep13 avatar Dec 28 '20 17:12 gep13

public_repo is enough for public repositories. Not sure about private. To create token navigate to https://github.com/settings/tokens/ (or Settings/Developer settings and select Personal access tokens)

cd21h avatar Dec 29 '20 01:12 cd21h

Just tested with a private repo. If the parent section repo Full control of private repositories is not selected, it does not work.

Selecting "only" the listed authorizations below repo is not enough.

kral2 avatar Mar 23 '21 01:03 kral2