Merge pull request #13 from Affitor/fix/phase-1-validation-schema-safety #7
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: Update Registry | |
| on: | |
| push: | |
| branches: [main] | |
| paths: ['skills/**'] | |
| permissions: | |
| contents: write | |
| jobs: | |
| update: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Generate registry.json | |
| run: node scripts/generate-registry.js | |
| - name: Commit if changed | |
| run: | | |
| git diff --quiet registry.json || { | |
| git config user.name "github-actions[bot]" | |
| git config user.email "github-actions[bot]@users.noreply.github.com" | |
| git add registry.json | |
| git commit -m "chore: auto-update registry.json" | |
| git push | |
| } |