dosubot[bot] commented on issue #8505: URL: https://github.com/apache/incubator-devlake/issues/8505#issuecomment-3083022566
<!-- Greeting --> Hi @Bhoopalan1999! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the incubator-devlake team. <!-- Answer --> Based on the code, forked repo access in DevLake is controlled by the skip_forks parameter, not by whether you're using GHES or GHEC—there's no environment-specific logic for forks. If forked repos are missing, it's likely due to config, how the API response is handled, or a subtle bug in how forks are filtered or represented internally. Could you confirm if skip_forks is set anywhere in your DevLake config or UI? Also, if you have any logs or error messages from DevLake when trying to connect to a forked repo, sharing those would help pinpoint where things are going wrong. Comparing the raw GitHub API response for a forked repo (using your working script) with what DevLake ingests could also reveal where the pipeline diverges. If you’re able to enable debug logging or add temporary log statements in collectRepos.go, that might clarify how forks are being handled at runtime. Let me know what you find—this will help determine if a config tweak or a code patch is needed. For reference, the relevant fork-handling logic is described [here](https://github.com/apache/incubator-devlake/blob/2c15ad880dce830c6512fa58039527cbf4745b8b/backend/plugins/github/tasks/repo_convertor.go). <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/db5f9072-97a0-4fc6-9a8a-f565a942ec03?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/db5f9072-97a0-4fc6-9a8a-f565a942ec03?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/db5f9072-97a0-4fc6-9a8a-f565a942ec03?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/db5f9072-97a0-4fc6-9a8a-f565a942ec03?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/db5f9072-97a0-4fc6-9a8a-f565a942ec03?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/db5f9072-97a0-4fc6-9a8a-f565a942ec03?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/db5f9072-97a0-4fc6-9a8a-f565a942ec03?feedback_type=other)</sup> [](https://go.dosu.dev/discord-bot) [! [Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/incubator-devlake/issues/8505) -- 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 For queries about this service, please contact Infrastructure at: us...@infra.apache.org