Running dependabot without github access token #11134
Replies: 2 comments 1 reply
-
|
Is there someone that could clarify this? |
Beta Was this translation helpful? Give feedback.
-
|
Yes, you can use Dependabot on GitLab without making calls to GitHub for your repository operations. However, there may be optional calls to GitHub to fetch metadata about dependencies that are hosted on GitHub. Key Findings✅ Your Repository Operations - NO GitHub CallsWhen your repository is hosted on GitLab, ALL repository operations use GitLab API exclusively:
ℹ️ Dependency Metadata - Optional GitHub Calls (Read-Only)Dependabot may make read-only calls to GitHub when:
🔒 What GitHub Receives (If Accessed)Read-only API requests for public dependency information only:
💪 Graceful DegradationIf GitHub is completely blocked:
How to Completely Prevent GitHub CallsRecommended: Network-Level Blocking
# Block api.github.com at your firewall/proxy
# Dependabot will work normally, just without dependency metadata enrichment
Architecture EvidenceDependabot uses provider-agnostic architecture with clear separation: # From pull_request_creator.rb line 257-266
case source.provider
when "gitlab" then gitlab_creator.create # ← Your GitLab project uses this
when "github" then github_creator.create # ← Never called for GitLab repos
# From changelog_finder.rb line 233-240
case file_source.provider
when "gitlab" then fetch_gitlab_file(file) # ← GitLab dependencies
when "github" then fetch_github_file(file) # ← GitHub-hosted dependencies only
Recommendations by Security LevelHigh Security Environments
Standard Environments
Additional InformationI've created a comprehensive document with:
ConclusionDependabot is safe to use on GitLab with no GitHub integration concerns: Note: co-authored by copilot |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am exploring the possibility of using Dependabot for our projects hosted on GitLab. However, we have security concerns regarding any external calls to GitHub.
I have looked into the Dependabot core project and it seems feasible to run it independently. Can anyone confirm if it is possible to use Dependabot on GitLab without making calls to GitHub?
If this is not possible, could you please clarify what data is sent to GitHub and what information they have access to?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions