Skip to content

[bug] GitHub token broken with 3.1.x #286

Closed

Description

@joemccall86

Describe the bug

Repos no longer clone with the GITHUB_TOKEN. This was added with the bitbucket support, specifically this line.

The clone URL is https://:(token)@github.com/myorg/myrepo (note the extra : character, since there's no username.

To reproduce

Try to add a new repo using a GITHUB_TOKEN and sourcebot v3.1.1.

Sourcebot deployment information

Sourcebot version v3.1.1

Additional information

No response

Activity

  1. brendan-kellam commented on Apr 30, 2025

    @brendan-kellam
    Contributor

    Thanks for the report - I have a repro and working on a fix now

  2. brendan-kellam commented on Apr 30, 2025

    @brendan-kellam
    Contributor

    Thanks again for the report @joemccall86 - I've rolled the fix into the v3.1.2 release: https://github.com/sourcebot-dev/sourcebot/releases/tag/v3.1.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions