From 82ce7c8ef4a21516adb9121b030843cb2cd30a25 Mon Sep 17 00:00:00 2001 From: Matt Walters Date: Thu, 26 Mar 2026 07:52:34 -0500 Subject: [PATCH] chore: restore notify-parent workflow (simplified) Re-adds notify-parent.yml to trigger parent meta repo's release-please when this child repo merges to main. Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/notify-parent.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 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..7f027b7 --- /dev/null +++ b/.github/workflows/notify-parent.yml @@ -0,0 +1,26 @@ +name: Notify Parent Repo + +on: + push: + branches: [main] + +permissions: {} + +jobs: + notify: + runs-on: ubuntu-latest + steps: + - name: Notify parent repo + # PARENT_REPO_PAT requires `repo` scope (or fine-grained `contents:write`) + # on harmony-labs/meta. Configure in Settings → Secrets → Actions. + uses: peter-evans/repository-dispatch@28959ce8df70de7be546dd1250a005dd32156697 # v4 + with: + token: ${{ secrets.PARENT_REPO_PAT }} + repository: harmony-labs/meta + event-type: child-repo-updated + client-payload: >- + { + "repo_name": ${{ toJSON(github.event.repository.name) }}, + "sha": ${{ toJSON(github.sha) }}, + "actor": ${{ toJSON(github.actor) }} + }