diff options
| author | Claude <noreply@anthropic.com> | 2026-11-12 04:09:25 +0000 |
|---|---|---|
| committer | Claude <noreply@anthropic.com> | 2026-11-12 05:53:40 +0000 |
| commit | 1b650f9f1f3c333c2322ba0d0bd10a0df39c94b0 (patch) | |
| tree | 1f0909c32e70530906ad7f4b4de685c3a5d5c8d3 /.github/scripts/validate-frontmatter.ts | |
| parent | e37d307bd9f85dab6fea5dfb5e3dc146753b2d2d (diff) | |
CI: validate in-repo plugin folders; point submissions to claude.ai/directory/manageclaude/project-thread-eh90kw
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y6KzrBh3DugYtWavUz8Hv4
Diffstat (limited to '.github/scripts/validate-frontmatter.ts')
| -rw-r--r-- | .github/scripts/validate-frontmatter.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/scripts/validate-frontmatter.ts b/.github/scripts/validate-frontmatter.ts index 2aafe8f1..15255054 100644 --- a/.github/scripts/validate-frontmatter.ts +++ b/.github/scripts/validate-frontmatter.ts @@ -34,6 +34,12 @@ function quoteSpecialValues(text: string): string { result.push(line); continue; } + // Skip block scalar headers ("description: |"): the value is on the + // lines below + if (/^[|>][-+0-9]*\s*(#.*)?$/.test(value)) { + result.push(line); + continue; + } // Skip already-quoted values if ( (value.startsWith('"') && value.endsWith('"')) || |
