From 1f71d25a6423eef0cbf6d28b33335eed1262bdc4 Mon Sep 17 00:00:00 2001 From: Mark IJbema Date: Mon, 18 May 2026 15:34:10 +0200 Subject: [PATCH] ci: skip check-forbidden-strings.ts in source-links extraction The forbidden-string list contains opencode.ai URLs as literal patterns to ban; they aren't real source links and shouldn't show up in the source-links manifest. --- packages/kilo-docs/source-links.md | 7 +++---- script/extract-source-links.ts | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/packages/kilo-docs/source-links.md b/packages/kilo-docs/source-links.md index 7bfc0a61504..5ad26b738cc 100644 --- a/packages/kilo-docs/source-links.md +++ b/packages/kilo-docs/source-links.md @@ -1,7 +1,7 @@ # Source Code Links - + - @@ -42,8 +42,6 @@ - -- - - - @@ -68,6 +66,7 @@ - + - - @@ -85,6 +84,7 @@ - + - @@ -113,7 +113,6 @@ - - - - diff --git a/script/extract-source-links.ts b/script/extract-source-links.ts index b3179fb7294..3450edea7bc 100755 --- a/script/extract-source-links.ts +++ b/script/extract-source-links.ts @@ -85,7 +85,7 @@ const SKIP_DIRS = ["node_modules", ".storybook", "stories", "test", "tests", "__ const SKIP_PATH_SEGMENTS = ["continuedev"] // Individual files to skip (data files full of non-user-facing URLs) -const SKIP_FILES = ["models-snapshot.ts", "models-snapshot.js"] +const SKIP_FILES = ["models-snapshot.ts", "models-snapshot.js", "check-forbidden-strings.ts"] function shouldExclude(url: string): boolean { return EXCLUDE_PATTERNS.some((re) => re.test(url))