refactor(workflows): rename sync workflow and add README sync
- 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
This commit is contained in:
30
.github/workflows/sync-skills.yml
vendored
Normal file
30
.github/workflows/sync-skills.yml
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
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"
|
||||
Reference in New Issue
Block a user