Skip to content

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

@joemccall86

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

Metadata

Metadata

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions