Compare commits

...

1 Commits

Author SHA1 Message Date
Claude
fc15bd9403 Add CI workflow to validate marketplace.json is valid JSON
Adds a GitHub Actions workflow that runs on PRs when .claude-plugin/marketplace.json
is modified. The workflow uses jq to validate the JSON structure.

Related Slack thread: https://anthropic.slack.com/archives/C09KU300P7F/p1769756203361729
2026-01-30 06:57:57 +00:00

View File

@@ -0,0 +1,23 @@
name: Validate Marketplace JSON
on:
pull_request:
paths:
- '.claude-plugin/marketplace.json'
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Validate marketplace.json
run: |
echo "Validating .claude-plugin/marketplace.json..."
if jq empty .claude-plugin/marketplace.json 2>&1; then
echo "Valid JSON"
else
echo "Invalid JSON in .claude-plugin/marketplace.json"
exit 1
fi