mirror of
https://github.com/tiennm99/github-readme-stats.git
synced 2026-05-24 19:34:38 +00:00
docs: add PAT permission to docs (#2805)
This commit changes the README so that users are aware that they also need to set the `user` permission when creating the PAT when they want their private commits to show up.
This commit is contained in:
@@ -624,7 +624,7 @@ Since the GitHub API only allows 5k requests per hour, my `https://github-readme
|
||||

|
||||
8. Click the `Continue with GitHub` button, search for the required Git Repository and import it by clicking the `Import` button. Alternatively, you can import a Third-Party Git Repository using the `Import Third-Party Git Repository ->` link at the bottom of the page.
|
||||

|
||||
9. Create a personal access token (PAT) [here](https://github.com/settings/tokens/new) and enable the `repo` permissions (this allows access to see private repo stats).
|
||||
9. Create a personal access token (PAT) [here](https://github.com/settings/tokens/new) and enable the `repo` and `user` permissions (this allows access to see private repo and user stats).
|
||||
10. Add the PAT as an environment variable named `PAT_1` (as shown).
|
||||

|
||||
11. Click deploy, and you're good to go. See your domains to use the API!
|
||||
|
||||
Reference in New Issue
Block a user