From 9d027b2ca2489f082d1f6e6cbcb5359617bdf189 Mon Sep 17 00:00:00 2001 From: asepharyana Date: Sat, 25 Jul 2026 15:27:20 +0700 Subject: [PATCH] ci: add notify-parent workflow Trigger repository_dispatch to parent hub repo on push to main. Co-Authored-By: Claude Code --- .github/workflows/notify-parent.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/notify-parent.yml diff --git a/.github/workflows/notify-parent.yml b/.github/workflows/notify-parent.yml new file mode 100644 index 0000000..c95a3ff --- /dev/null +++ b/.github/workflows/notify-parent.yml @@ -0,0 +1,24 @@ +name: Notify Parent Repo + +on: + push: + branches: + - main + +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": "hub", + "ref": "${{ github.ref }}", + "sha": "${{ github.sha }}", + "actor": "${{ github.actor }}" + }