We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a9a50f commit b10bdc6Copy full SHA for b10bdc6
components/server/src/projects/projects-service.ts
@@ -135,7 +135,7 @@ export class ProjectsService {
135
const parsedUrl = RepoURL.parseRepoUrl(project.cloneUrl);
136
const hostContext = parsedUrl?.host ? this.hostContextProvider.get(parsedUrl?.host) : undefined;
137
const type = hostContext && hostContext.authProvider.info.authProviderType;
138
- if (type !== "github.com") {
+ if (type === "GitLab" || type === "Bitbucket") {
139
const repositoryService = hostContext?.services?.repositoryService;
140
if (repositoryService) {
141
// Note: For GitLab, we expect .canInstallAutomatedPrebuilds() to always return true, because earlier
0 commit comments