From 8b4f207fa157399130722c1f32d187c1d7615267 Mon Sep 17 00:00:00 2001 From: Rohit Ghumare <48523873+rohitg00@users.noreply.github.com> Date: Sat, 11 Apr 2026 13:56:26 +0100 Subject: [PATCH] fix: gate official badge on GitHub provider type --- packages/cli/src/commands/install.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/src/commands/install.ts b/packages/cli/src/commands/install.ts index 2f0f88f3..e317e2d6 100644 --- a/packages/cli/src/commands/install.ts +++ b/packages/cli/src/commands/install.ts @@ -451,7 +451,7 @@ export class InstallCommand extends Command { const sourceProvider = detectProvider(this.source); const parsedSource = sourceProvider?.parseSource(this.source); const normalizedSource = parsedSource ? `${parsedSource.owner}/${parsedSource.repo}` : this.source; - const isOfficial = officialSources.includes(normalizedSource); + const isOfficial = sourceProvider?.type === "github" && officialSources.includes(normalizedSource); const scorer = new TrustScorer(); for (const skill of skillsToInstall) {