Startrekzky opened a new issue, #4571:
URL: https://github.com/apache/incubator-devlake/issues/4571

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and 
found no similar feature requirement.
   
   
   ### Use case
   
   I used an existing GitHub token to collect GitHub data with DevLake. When I 
input it in the data connection page and clicked `Test Connection`, it showed 
`success`. However, when I started to run BP, the pipeline failed.
   
   It turned out that the token I used did not meet the permission required by 
DevLake. It's an old token so I was not sure about its permissions.
   
   I think the better experience is to prompt `fail` when testing a token 
without the requried permissions.
   
   ### Description
   
   Follow the token permissions in the manuals
   - [x] Test [GitHub token's 
permissions](https://devlake.apache.org/docs/next/Configuration/GitHub#github-personal-access-tokensrecommended)
   - [ ] Test [GitLab token's 
permissions](https://devlake.apache.org/docs/next/Configuration/GitLab#gitlab-personal-access-tokens)
   - [ ] Test Jira token's permissions @mindlesscloud 
   - [ ] or more
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to