Skip to content

[Bug][Module Name] Unable To Access Forked GHES repo (Similar to #4173) #8505

@Bhoopalan1999

Description

@Bhoopalan1999

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

This issue is similar to #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.

I think Github Enterprise Cloud is causing the problem. Because I tried to fork devlake-incubator repo from my personal account and tried to access it. It is working fine.

Anything else

Everytime

Version

v1.0.1@e061ef2

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

component/pluginsThis issue or PR relates to pluginsseverity/p1This bug affects functionality or significantly affect uxtype/bugThis issue is a bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions