We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8464f92 + 4f7db1b commit 7f2d084Copy full SHA for 7f2d084
.github/workflows/trigger-agent-toolkit-update.yaml
@@ -0,0 +1,18 @@
1
+name: Trigger Agent Toolkit Update
2
+
3
+on:
4
+ pull_request:
5
+ types: [closed]
6
7
+jobs:
8
+ trigger-videodb-helper-update:
9
+ if: ${{ github.event.pull_request.merged && github.event.pull_request.base.ref == 'main' }}
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Trigger Agent Toolkit Update workflow via repository_dispatch
13
+ run: |
14
+ curl -X POST -H "Accept: application/vnd.github+json" \
15
+ -H "Authorization: Bearer ${{ secrets.AGENT_TOOLKIT_TOKEN}}" \
16
+ -H "X-GitHub-Api-Version: 2022-11-28" \
17
+ https://api.github.com/repos/videodb-db/agent-toolkit/dispatches \
18
+ -d '{"event_type": "sdk-pr-merged", "client_payload": {"pr_number": ${{ github.event.pull_request.number }}}}'
0 commit comments