Skip to content

added animation reference for the skill #20

added animation reference for the skill

added animation reference for the skill #20

name: Sync README reference structure
on:
pull_request:
paths:
- "swiftui-expert-skill/references/**"
jobs:
sync-readme:
if: github.event.pull_request.head.repo.full_name == github.repository
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Sync README structure
run: node .github/scripts/sync-readme.js
- name: Commit README update
run: |
if git diff --quiet README.md; then
echo "README is up to date."
exit 0
fi
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add README.md
git commit -m "chore: sync README references [skip ci]"
git push