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

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


The following commit(s) were added to refs/heads/main by this push:
     new 1a1abb2d1 docs: removed unneeded permissions for Github
1a1abb2d1 is described below

commit 1a1abb2d11da46d7447e7e479350a572d5aa8a5d
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 fa7d47b90..fc85cca42 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