-
Notifications
You must be signed in to change notification settings - Fork 67
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
Update instructions for GitHub API tokens #406
Conversation
4413c67
to
430ddca
Compare
README.md
Outdated
Otherwise, you'll have to manually create a "personal access token (classic)" | ||
through the GitHub website. See [the GitHub documentation][3] for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise, you'll have to manually create a "personal access token (classic)" | |
through the GitHub website. See [the GitHub documentation][3] for | |
Otherwise, you'll have to create a "personal access token (classic)" | |
through GitHub's website. See [the GitHub documentation](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#personal-access-tokens-classic) for |
430ddca
to
8b1f30a
Compare
Minimal version of Mic92#406
* doc: mention that only classic PATs work Minimal version of #406 * doc: update example token PATs have a `ghp_` prefix now. * doc: fix formatting Co-authored-by: Sandro <[email protected]> --------- Co-authored-by: Sandro <[email protected]>
Can this be closed now? |
Why? There are still plenty of changes in it that weren't uptaken in 2beefeb. |
8b1f30a
to
73ea2b2
Compare
Rebased on top of 2beefeb. I'd appreciate it if someone could reply to the pending review comments above. |
In late 2022, GitHub [introduced][1] a new type of API tokens that are supposed to be more secure and fine grained than the old type of tokens. But they won't work for nixpkgs-review's purposes (at least for now) because there is no way to grant these new tokens access to resources that are not owned by you, and most users of nixpkgs-reviews are not owners of @NixOS/nixpkgs which is the repo they're trying to submit pull request comments to (when using `--post-result`, anyway). This commit clarifies the README instructions so that users will know they need to create the old type of API token, the "personal access token (classic)", and not the new type. Also did a bit of rewording for further clarity. [1]: https://github.blog/2022-10-18-introducing-fine-grained-personal-access-tokens-for-github/
4cef96c
to
86940d1
Compare
@mergify queue |
🛑 The pull request has been removed from the queue
|
In late 2022, GitHub introduced a new type of API tokens that are supposed to be more secure and fine grained than the old type of tokens. But they won't work for nixpkgs-review's purposes (at least for now) because there is no way to grant these new tokens access to resources that are not owned by you, and most users of nixpkgs-reviews are not owners of @NixOS/nixpkgs which is the repo they're trying to submit pull request comments to (when using
--post-result
, anyway).This commit clarifies the README instructions so that users will know they need to create the old type of API token, the "personal access token (classic)", and not the new type.
Also did a bit of rewording for further clarity.