Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document GitHub Personal Access Token usage #327

Open
cd21h opened this issue Dec 28, 2020 · 4 comments
Open

Document GitHub Personal Access Token usage #327

cd21h opened this issue Dec 28, 2020 · 4 comments

Comments

@cd21h
Copy link

cd21h commented Dec 28, 2020

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

@cd21h
Copy link
Author

cd21h commented Dec 28, 2020

I assigned following scopes, it works

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

@gep13
Copy link
Member

gep13 commented Dec 28, 2020

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?

@cd21h
Copy link
Author

cd21h commented Dec 29, 2020

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)

@kral2
Copy link

kral2 commented Mar 23, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants