Files
caveman/.github/workflows/sync-skill.yml
T
Julius Brussee 2ec71d8ffd Sync caveman skill workflow and docs
Update GitHub Actions workflow to add concurrency controls, checkout the main ref, simplify ZIP creation (zip directly from skills/), and pull --rebase before committing; commit message now includes [skip ci]. Also update README to add an "Intensity Levels" nav link. Clarify skills/caveman/SKILL.md: document explicit /caveman lite|full|ultra triggers, expand the description of dropped filler/pleasantries/hedging, and apply small formatting tweaks.
2026-04-06 02:11:21 +02:00

41 lines
1.0 KiB
YAML

name: Sync SKILL.md
on:
push:
branches: [main]
paths:
- skills/caveman/SKILL.md
concurrency:
group: sync-skill
cancel-in-progress: false
jobs:
sync:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
ref: main
- name: Copy to duplicate locations
run: |
cp skills/caveman/SKILL.md caveman/SKILL.md
cp skills/caveman/SKILL.md plugins/caveman/skills/caveman/SKILL.md
- name: Rebuild caveman.skill ZIP
run: |
cd skills && zip -r ../caveman.skill caveman/
- name: Commit if changed
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git diff --quiet && exit 0
git add caveman/SKILL.md plugins/caveman/skills/caveman/SKILL.md caveman.skill
git pull --rebase origin main
git commit -m "chore: sync SKILL.md copies and caveman.skill [skip ci]"
git push