Add kepano/obsidian-skills to plugin and skill repositories #18
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: Notify Other Repos on Config Change | |
| on: | |
| push: | |
| branches: [ main ] | |
| paths: | |
| - 'agent_repos.json' | |
| - 'plugin_repos.json' | |
| - 'skill_repos.json' | |
| workflow_dispatch: | |
| jobs: | |
| validate-json: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Validate JSON files | |
| run: python3 tests/test_json_validation.py | |
| notify-other-repos: | |
| runs-on: ubuntu-latest | |
| needs: validate-json | |
| steps: | |
| - name: Dispatch event to awesome-claude-plugins | |
| run: | | |
| curl -s -X POST \ | |
| -H "Authorization: Bearer ${{ secrets.PERSONAL_ACCESS_TOKEN }}" \ | |
| -H "Accept: application/vnd.github+json" \ | |
| https://api.github.com/repos/Chat2AnyLLM/awesome-claude-plugins/dispatches \ | |
| -d '{ | |
| "event_type": "config-updated", | |
| "client_payload": { | |
| "source_repo": "awesome-repo-configs", | |
| "ref": "${{ github.ref }}", | |
| "sha": "${{ github.sha }}" | |
| } | |
| }' | |
| - name: Dispatch event to awesome-claude-agents | |
| run: | | |
| curl -s -X POST \ | |
| -H "Authorization: Bearer ${{ secrets.PERSONAL_ACCESS_TOKEN }}" \ | |
| -H "Accept: application/vnd.github+json" \ | |
| https://api.github.com/repos/Chat2AnyLLM/awesome-claude-agents/dispatches \ | |
| -d '{ | |
| "event_type": "config-updated", | |
| "client_payload": { | |
| "source_repo": "awesome-repo-configs", | |
| "ref": "${{ github.ref }}", | |
| "sha": "${{ github.sha }}" | |
| } | |
| }' | |
| - name: Dispatch event to awesome-claude-skills | |
| run: | | |
| curl -s -X POST \ | |
| -H "Authorization: Bearer ${{ secrets.PERSONAL_ACCESS_TOKEN }}" \ | |
| -H "Accept: application/vnd.github+json" \ | |
| https://api.github.com/repos/Chat2AnyLLM/awesome-claude-skills/dispatches \ | |
| -d '{ | |
| "event_type": "config-updated", | |
| "client_payload": { | |
| "source_repo": "awesome-repo-configs", | |
| "ref": "${{ github.ref }}", | |
| "sha": "${{ github.sha }}" | |
| } | |
| }' |