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

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   This issue is similar to 
[#4173](https://github.com/apache/incubator-devlake/pull/4173). Although it is 
marked as completed, I'm still unable to access forked GHES repositories via 
Devlake configuration. 
   
   
   ### What do you expect to happen
   
   I'm expecting GHES and GHEC forked repos to be accessible via Github plugin 
in Devlake
   
   ### How to reproduce
   
   Steps to recreate: 
   
   1. I'm using Github enterprise.
   2. While generating API token, I've given access to all sub categories and 
the main category for 'repo' - this is because I need access to private 
repositories also. Other access given are read:org, read:user
   3. Private repositories can be successfully accessed
   4. However, forked private repositories are not accessible
   5. Forked public repositories are also not accessible. So issue is with all 
forked repos
   6. Even when the account has access to the parent repo, the forked repo 
still couldn't be accessed.
   7. Tried with 11 Forked repos - 2 Private and 9 Public - None of which could 
be connected. No problem with any other non-forked repository
   8. I used my API token inside my custom script to hit Github api and fetch 
data from the forked repo. It works. So the token **_does_** have access to 
forked repos.
   
   ### Anything else
   
   Everytime
   
   ### Version
   
   v1.0.1@e061ef2
   
   ### Are you willing to submit PR?
   
   - [x] 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: dev-unsubscr...@devlake.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to