mirror of
https://github.com/JuliusBrussee/caveman.git
synced 2026-08-11 13:21:09 +02:00
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.
This commit is contained in:
@@ -6,6 +6,10 @@ on:
|
||||
paths:
|
||||
- skills/caveman/SKILL.md
|
||||
|
||||
concurrency:
|
||||
group: sync-skill
|
||||
cancel-in-progress: false
|
||||
|
||||
jobs:
|
||||
sync:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -13,6 +17,8 @@ jobs:
|
||||
contents: write
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
ref: main
|
||||
|
||||
- name: Copy to duplicate locations
|
||||
run: |
|
||||
@@ -21,10 +27,7 @@ jobs:
|
||||
|
||||
- name: Rebuild caveman.skill ZIP
|
||||
run: |
|
||||
mkdir -p _zip_tmp/caveman
|
||||
cp skills/caveman/SKILL.md _zip_tmp/caveman/SKILL.md
|
||||
cd _zip_tmp && zip -r ../caveman.skill caveman/
|
||||
cd .. && rm -rf _zip_tmp
|
||||
cd skills && zip -r ../caveman.skill caveman/
|
||||
|
||||
- name: Commit if changed
|
||||
run: |
|
||||
@@ -32,5 +35,6 @@ jobs:
|
||||
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 commit -m "chore: sync SKILL.md copies and caveman.skill"
|
||||
git pull --rebase origin main
|
||||
git commit -m "chore: sync SKILL.md copies and caveman.skill [skip ci]"
|
||||
git push
|
||||
|
||||
Reference in New Issue
Block a user