File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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: ebuild @ ${{ github.sha }}"
19+ echo "========================================"
20+ for repo in eos eboot eai eni eipc 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]=ebuild \
25+ -f client_payload[sha]=${{ github.sha }} 2>&1 || echo " (dispatch to $repo skipped — may need PAT)"
26+ done
27+ echo "All dispatches sent"
You can’t perform that action at this time.
0 commit comments