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

Github Token Specificity #374

Closed
MrHinsh opened this issue May 16, 2023 · 2 comments · Fixed by #375
Closed

Github Token Specificity #374

MrHinsh opened this issue May 16, 2023 · 2 comments · Fixed by #375
Labels
In-PR Issue-Docs It's a documentation issue that really should be on MicrosoftDocs Needs-Triage

Comments

@MrHinsh
Copy link

MrHinsh commented May 16, 2023

Brief description of your issue

There is no definition on https://github.com/microsoft/winget-create/blob/main/doc/update.md of what specific permissions this PAT token needs?

Questions:

  • Classic or Scoped?
  • Which flags are need?
@MrHinsh MrHinsh added the Issue-Docs It's a documentation issue that really should be on MicrosoftDocs label May 16, 2023
@mdanish-kh
Copy link
Contributor

https://github.com/microsoft/winget-create#github-personal-access-token-permissions

According to the documentation above, a classic token with public_repo flag is needed for WinGetCreate

@MrHinsh
Copy link
Author

MrHinsh commented May 16, 2023

It would be great if this could be linked directly from the documentation pages for the actions that need it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
In-PR Issue-Docs It's a documentation issue that really should be on MicrosoftDocs Needs-Triage
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants