From 3273e76e9f9f81a1e0aba4f622bb21940c017f42 Mon Sep 17 00:00:00 2001 From: Daniel Rosehill Date: Thu, 21 Nov 2024 20:58:03 +0200 Subject: [PATCH] update --- .github/workflows/notify-main-repo.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/notify-main-repo.yml diff --git a/.github/workflows/notify-main-repo.yml b/.github/workflows/notify-main-repo.yml new file mode 100644 index 0000000..52e4678 --- /dev/null +++ b/.github/workflows/notify-main-repo.yml @@ -0,0 +1,19 @@ +name: Notify Main Repository + +on: + push: + branches: + - main + +jobs: + notify-main-repo: + runs-on: ubuntu-latest + + steps: + - name: Notify Main Repository + uses: peter-evans/repository-dispatch@v2 + with: + token: ${{ secrets.PAT }} # Personal Access Token with repo access + repository: danielrosehill/Documetation-Root-Repo + event-type: update-submodule + client-payload: '{"submodule": "${{ github.repository }}"}' \ No newline at end of file