Skip to content

fix(ci): SMI-4785 ignore git-crypt encrypted .ts files in ESLint#1002

Merged
wrsmith108 merged 1 commit into
mainfrom
fix/smi-4785-eslint-claude-skills-ignore
May 7, 2026
Merged

fix(ci): SMI-4785 ignore git-crypt encrypted .ts files in ESLint#1002
wrsmith108 merged 1 commit into
mainfrom
fix/smi-4785-eslint-claude-skills-ignore

Conversation

@wrsmith108
Copy link
Copy Markdown
Member

Summary

  • ESLint's lint job decrypts git-crypt files only when secrets.GIT_CRYPT_KEY is non-empty. Dependabot PRs (and any fork PR) don't get repo secrets — encrypted .ts files reach ESLint as binary blobs and fail with Parsing error: Invalid character.
  • Adds .claude/skills/**/*.ts, .claude/plans/**/*.ts, .claude/hive-mind/**/*.ts to globalIgnores.ignores in eslint.config.js (mirroring the existing supabase/functions/** + supabase/migrations/** entries that exist for the exact same reason).

Why now

Surfaced from SMI-4781 batch execution 2026-05-06: dependabot PR #851 (workflow-YAML-only — wasn't masked by the lock-regen issue SMI-4784) failed Lint at .claude/skills/governance/templates/edge-function-test-template.ts (run 25473022995/job 74740649816). Main has been quietly green only because trusted-context CI gets the unlock secret.

Test plan

[skip-impl-check]: config-only change to eslint.config.js; no source code changes per SMI-4785 — see eslint.config.js ignores block

🤖 Generated with Ruflo

Co-Authored-By: claude-flow ruv@ruv.net
Co-Authored-By: Claude noreply@anthropic.com

@vercel
Copy link
Copy Markdown

vercel Bot commented May 7, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
website Ready Ready Preview, Comment May 7, 2026 3:47am

Request Review

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 7, 2026

E2E Test Results

E2E Test Results - May 7, 2026

Summary

  • Status: ✅ PASSED
  • Total Duration: 0.00s
  • Generated: 2026-05-07T03:46:16.845Z

Test Results

Phase Status Duration
CLI E2E ⏭️ Skipped -
MCP E2E ⏭️ Skipped -

Generated by skillsmith E2E test suite

Dependabot PRs don't get GIT_CRYPT_KEY secret, so encrypted files
under .claude/skills/, .claude/plans/, .claude/hive-mind/ reach
ESLint as binary blobs and fail with "Parsing error: Invalid
character" (verified PR #851 SHA 12766ef:
.claude/skills/governance/templates/edge-function-test-template.ts).

Mirrors the existing supabase/functions/** + supabase/migrations/**
pattern in the same globalIgnores block.

Closes SMI-4785.

Co-Authored-By: claude-flow <ruv@ruv.net>
Co-Authored-By: Claude <noreply@anthropic.com>
@wrsmith108 wrsmith108 force-pushed the fix/smi-4785-eslint-claude-skills-ignore branch from 97e8a06 to 489a32f Compare May 7, 2026 03:47
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 7, 2026

E2E Test Results

E2E Test Results - May 7, 2026

Summary

  • Status: ✅ PASSED
  • Total Duration: 0.00s
  • Generated: 2026-05-07T04:02:38.540Z

Test Results

Phase Status Duration
CLI E2E ⏭️ Skipped -
MCP E2E ⏭️ Skipped -

Generated by skillsmith E2E test suite

@wrsmith108 wrsmith108 merged commit 8b5cb59 into main May 7, 2026
36 checks passed
@wrsmith108 wrsmith108 deleted the fix/smi-4785-eslint-claude-skills-ignore branch May 7, 2026 04:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant