Skip to content

support private repos via OPENSRC_GITHUB_TOKEN and OPENSRC_GITLAB_TOKEN#20

Open
ctate wants to merge 3 commits intomainfrom
ctate/fix-14
Open

support private repos via OPENSRC_GITHUB_TOKEN and OPENSRC_GITLAB_TOKEN#20
ctate wants to merge 3 commits intomainfrom
ctate/fix-14

Conversation

@ctate
Copy link
Collaborator

@ctate ctate commented Feb 24, 2026

Adds support for fetching source code from private GitHub and GitLab repositories by reading authentication tokens from environment variables.

  • OPENSRC_GITHUB_TOKEN (or GITHUB_TOKEN) for GitHub API calls and authenticated cloning
  • OPENSRC_GITLAB_TOKEN (or GITLAB_TOKEN) for GitLab API calls and authenticated cloning
  • Improved error messages to guide users toward setting tokens when needed
  • Tokens are never logged or persisted to sources.json

@vercel
Copy link

vercel bot commented Feb 24, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
opensrc Ignored Ignored Feb 24, 2026 4:47pm

@ctate ctate changed the title Ctate/fix 14 support private repos via OPENSRC_GITHUB_TOKEN and OPENSRC_GITLAB_TOKEN Feb 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant