mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-09-21 05:52:35 +08:00
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.
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user