Files
asepharyana 3956b90c3c
Notify Parent Repo / dispatch (push) Canceled after 0s
ci: add workflow_dispatch to notify-parent for manual triggering
2026-07-25 18:13:38 +07:00

26 lines
604 B
YAML

name: Notify Parent Repo
on:
push:
branches:
- main
workflow_dispatch:
jobs:
dispatch:
runs-on: ubuntu-latest
steps:
- name: Trigger root monorepo build
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.DISPATCH_TOKEN }}
repository: asepharyana/asepharyana-hub
event-type: submodule-updated
client-payload: |
{
"service": "tools",
"ref": "${{ github.ref }}",
"sha": "${{ github.sha }}",
"actor": "${{ github.actor }}"
}