ci: trigger #44
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 to awesome-ai-plugins | ||
|
Check failure on line 1 in .github/workflows/sync-to-ai-plugins.yml
|
||
| on: | ||
| push: | ||
| branches: [main] | ||
| paths: | ||
| - README.md | ||
| - plugins.json | ||
| - .agents/plugins/marketplace.json | ||
| permissions: | ||
| contents: read | ||
| jobs: | ||
| dispatch: | ||
| name: Trigger sync to awesome-ai-plugins | ||
| runs-on: ubuntu-latest | ||
| # Requires BOT_TOKEN secret with repo scope for cross-repo dispatch | ||
| # Without it, this step will be skipped | ||
| steps: | ||
| - name: Repository Dispatch | ||
| if: ${{ contains(secrets, 'BOT_TOKEN') && secrets.BOT_TOKEN != '' }} | ||
| uses: peter-evans/repository-dispatch@v4 | ||
| with: | ||
| repository: hashgraph-online/awesome-ai-plugins | ||
| event-type: sync-to-ai-plugins | ||
| token: ${{ secrets.BOT_TOKEN }} | ||