ci: add validation CI (JSON + Python + shell) + Dependabot - #42
Open
jhamon wants to merge 1 commit into
Open
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
pinecone-claude-code-pluginhad 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:*.jsonmust parse (.claude-plugin/plugin.json,marketplace.json,.mcp.json,hooks/hooks.json).compileallthe skill helper scripts (catches syntax errors).ruff check --select E9,F63,F7,F82on the scripts (real errors, not style).Plus a least-privilege
permissionsblock and a.github/dependabot.ymlfor 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