Skip to content

ci: add validation CI (JSON + Python + shell) + Dependabot - #42

Open
jhamon wants to merge 1 commit into
mainfrom
chore/add-validation-ci
Open

ci: add validation CI (JSON + Python + shell) + Dependabot#42
jhamon wants to merge 1 commit into
mainfrom
chore/add-validation-ci

Conversation

@jhamon

@jhamon jhamon commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

What

pinecone-claude-code-plugin had no build/test CI — only the Claude action and a release workflow, so a broken plugin manifest or a Python syntax error could ship unnoticed. This adds a lightweight but real merge gate that runs on every PR:

  1. Validate JSON manifests — every *.json must parse (.claude-plugin/plugin.json, marketplace.json, .mcp.json, hooks/hooks.json).
  2. Byte-compile Pythoncompileall the skill helper scripts (catches syntax errors).
  3. Error-level lintruff check --select E9,F63,F7,F82 on the scripts (real errors, not style).
  4. Shellcheck — the hook shell scripts.

Plus a least-privilege permissions block and a .github/dependabot.yml for github-actions.

Verification (local)

All four checks pass on the current tree: JSON ✅, compileall ✅, ruff ✅, shellcheck ✅.

Note

There's no Python dependency manifest (the scripts import from an ambient env), so the audit/dependency-update surface here is just GitHub Actions. If a manifest is added later, a pip audit + pip Dependabot entry should follow.

🤖 Generated with Claude Code

This plugin repo previously had no build/test CI — only the Claude action and a
release workflow. Add a lightweight but real safety net that runs on every PR:
- Validate all JSON manifests parse (.claude-plugin/plugin.json, marketplace.json,
  .mcp.json, hooks/hooks.json) — catches a broken manifest before it ships.
- Byte-compile the skill helper Python scripts (catches syntax errors).
- ruff error-level lint (E9/F63/F7/F82) on the scripts.
- shellcheck the hook scripts.
Plus least-privilege permissions and a Dependabot config for github-actions.

Verified locally: all four checks pass on the current tree.
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