Initial release v0.1.0 #9
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: Cross-Repo Dispatch | |
| on: | |
| push: | |
| branches: [master] | |
| jobs: | |
| notify-dependents: | |
| name: Trigger dependent repos | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Dispatch to dependents | |
| env: | |
| GH_TOKEN: ${{ secrets.CROSS_REPO_PAT }} | |
| run: | | |
| echo "========================================" | |
| echo " Cross-Repo CI Dispatch" | |
| echo " Source: eboot @ ${{ github.sha }}" | |
| echo "========================================" | |
| for repo in ebuild eos eApps eosim; do | |
| echo "Dispatching to $repo..." | |
| gh api repos/embeddedos-org/$repo/dispatches \ | |
| -X POST -f event_type=dependency-update \ | |
| -f client_payload[source]=eboot \ | |
| -f client_payload[sha]=${{ github.sha }} \ | |
| -f client_payload[ref]=${{ github.ref }} 2>&1 || echo " (dispatch to $repo skipped — may need PAT)" | |
| done | |
| echo "All dispatches sent" |