Skip to content

Commit 5dd983d

Browse files
authored
feat: trigger sync to awesome-ai-plugins on push to main (#44)
- Add workflow that dispatches sync event when Codex plugins are updated Co-authored-by: internet-dot <internet-dot@users.noreply.github.com>
1 parent 8331148 commit 5dd983d

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Sync to awesome-ai-plugins
2+
3+
on:
4+
push:
5+
branches: [main]
6+
paths:
7+
- README.md
8+
- plugins.json
9+
- .agents/plugins/marketplace.json
10+
11+
permissions:
12+
contents: read
13+
14+
jobs:
15+
dispatch:
16+
name: Trigger sync to awesome-ai-plugins
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Repository Dispatch
20+
uses: peter-evans/repository-dispatch@v3
21+
with:
22+
repository: hashgraph-online/awesome-ai-plugins
23+
event-type: sync-to-ai-plugins
24+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)