Files
marketingskills/.github/workflows/sync-claude-plugin.yml
Ben Sabic 8a1dcc657e ci(workflows): add skill sync and validation workflows
- Add sync-claude-plugin workflow to auto-update marketplace.json when skills change
- Add validate-skill workflow to validate SKILL.md files on push/PR
- Add sync-marketplace.js script for skill discovery and count updates
2026-01-25 20:34:53 +11:00

29 lines
633 B
YAML

name: Sync Claude Plugin
on:
push:
branches: [main]
paths:
- 'skills/**'
jobs:
sync:
runs-on: ubuntu-slim
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
persist-credentials: true
- name: Sync skills to marketplace.json
run: node .github/scripts/sync-marketplace.js
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v7
with:
commit_message: "chore: sync marketplace.json with skills directory"
file_pattern: .claude-plugin/marketplace.json