added animation reference for the skill #20
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |