There was an error while loading. Please reload this page.
1 parent cac0028 commit e102eb3Copy full SHA for e102eb3
1 file changed
.github/workflows/cross-repo-dispatch.yml
@@ -0,0 +1,27 @@
1
+name: Cross-Repo Dispatch
2
+
3
+on:
4
+ push:
5
+ branches: [master]
6
7
+jobs:
8
+ notify-dependents:
9
+ name: Trigger dependent repos
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Dispatch to dependents
13
+ env:
14
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15
+ run: |
16
+ echo "========================================"
17
+ echo " Cross-Repo CI Dispatch"
18
+ echo " Source: eboot @ ${{ github.sha }}"
19
20
+ for repo in eos-sdk; do
21
+ echo "Dispatching to $repo..."
22
+ gh api repos/embeddedos-org/$repo/dispatches \
23
+ -X POST -f event_type=dependency-update \
24
+ -f client_payload[source]=eboot \
25
+ -f client_payload[sha]=${{ github.sha }} 2>&1 || echo " (dispatch to $repo skipped — may need PAT)"
26
+ done
27
+ echo "All dispatches sent"
0 commit comments