From 032b1ec0047fa45a6b609ee3ba0dafc214da3432 Mon Sep 17 00:00:00 2001 From: Tobin South Date: Wed, 11 Nov 2026 22:01:14 -0800 Subject: CI: validate in-repo plugin folders; point submissions to claude.ai/directory/manage (#7086) Claude-Session: https://claude.ai/code/session_01Y6KzrBh3DugYtWavUz8Hv4 Co-authored-by: Claude --- .github/scripts/validate-frontmatter.ts | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.github/scripts/validate-frontmatter.ts') 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('"')) || -- cgit