From 595ae882cdaa1ac74c2c52681ccc9a12e5af7bd4 Mon Sep 17 00:00:00 2001 From: Joseph-Percival-ONS Date: Fri, 14 Nov 2025 13:11:09 +0000 Subject: [PATCH] recieve notifications from child repos --- .github/workflows/dependabot-notifications.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/dependabot-notifications.yml diff --git a/.github/workflows/dependabot-notifications.yml b/.github/workflows/dependabot-notifications.yml new file mode 100644 index 0000000..705400f --- /dev/null +++ b/.github/workflows/dependabot-notifications.yml @@ -0,0 +1,16 @@ +name: Receive Dependabot Notifications + +on: + repository_dispatch: + types: [dependabot_notice] + +jobs: + process: + runs-on: ubuntu-latest + steps: + - name: Print received data + run: | + echo "Child repo event: ${{ github.event.client_payload.repo }}" + echo "@ SHA: ${{ github.event.client_payload.sha }}" + echo "@ PR Number: ${{ github.event.client_payload.pr_number }}" + echo "@ PR URL: ${{ github.event.client_payload.pr_url }}"