diff --git a/.github/workflows/notify-parent.yml b/.github/workflows/notify-parent.yml new file mode 100644 index 0000000..2a4fafa --- /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": "APPNAME", + "ref": "${{ github.ref }}", + "sha": "${{ github.sha }}", + "actor": "${{ github.actor }}" + }