This is an automated email from the ASF dual-hosted git repository.

klesh pushed a commit to branch kw-devlake-2942
in repository https://gitbox.apache.org/repos/asf/incubator-devlake-website.git

commit 7a7974d0821757696168e04279a9ce6a25f4c321
Author: Klesh Wong <[email protected]>
AuthorDate: Tue Oct 18 11:28:29 2022 +0800

    docs: removed unneeded permissions for Github
---
 docs/UserManuals/ConfigUI/GitHub.md | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/docs/UserManuals/ConfigUI/GitHub.md 
b/docs/UserManuals/ConfigUI/GitHub.md
index cfa302204..24b4aa245 100644
--- a/docs/UserManuals/ConfigUI/GitHub.md
+++ b/docs/UserManuals/ConfigUI/GitHub.md
@@ -16,11 +16,9 @@ This should be a valid REST API endpoint, eg. 
`https://api.github.com/`. The url
 
 #### Auth Token(s)
 GitHub personal access tokens are required to add a connection.
-- Learn about [how to create a GitHub personal access 
token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token).
 The following permissions are required for private repositories:
+- Learn about [how to create a GitHub personal access 
token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token).
 The following permissions are required for `Apache DevLake` to collect data 
from private repositories:
   - `repo:status`
   - `repo_deployment`
-  - `public_repo`
-  - `repo:invite`
   - `read:user`
   - `read:org`
 - The data collection speed is relatively slow for GitHub since they have a 
**rate limit of [5,000 
requests](https://docs.github.com/en/rest/overview/resources-in-the-rest-api#rate-limiting)
 per hour** (15,000 requests/hour if you pay for GitHub enterprise). You can 
accelerate the process by configuring _multiple_ personal access tokens. Please 
note that multiple tokens should be created by different GitHub accounts. 
Tokens belonging to the same GitHub account share the rate limit.

Reply via email to