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 a9715ee commit 45ffc24Copy full SHA for 45ffc24
components/server/src/projects/projects-service.ts
@@ -137,7 +137,7 @@ export class ProjectsService {
137
const parsedUrl = RepoURL.parseRepoUrl(project.cloneUrl);
138
const hostContext = parsedUrl?.host ? this.hostContextProvider.get(parsedUrl?.host) : undefined;
139
const type = hostContext && hostContext.authProvider.info.authProviderType;
140
- if (type !== "github.com") {
+ if (type === "GitLab" || type === "Bitbucket") {
141
const repositoryService = hostContext?.services?.repositoryService;
142
if (repositoryService) {
143
// Note: For GitLab, we expect .canInstallAutomatedPrebuilds() to always return true, because earlier
0 commit comments