- Rename sync-claude-plugin.yml to sync-skills.yml - Rename sync-marketplace.js to sync-skills.js - Update script to also sync README skills table - Add SKILLS:START/END markers for reliable regex matching - Truncate skill descriptions to 120 chars in README table
31 lines
734 B
YAML
31 lines
734 B
YAML
name: Sync Skills
|
|
|
|
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
|
|
run: node .github/scripts/sync-skills.js
|
|
|
|
- name: Commit changes
|
|
uses: stefanzweifel/git-auto-commit-action@v7
|
|
with:
|
|
commit_user_name: Coreybot
|
|
commit_user_email: coreybot+github-actions[bot]@users.noreply.github.com
|
|
commit_message: "chore: sync skills with marketplace.json and README"
|
|
file_pattern: ".claude-plugin/marketplace.json README.md"
|