From c1aae972e53636f2f463cbff8ab70211229fd50b Mon Sep 17 00:00:00 2001 From: Thomson Thomas Date: Fri, 24 Jul 2026 11:24:56 -0400 Subject: [PATCH] ci: add pr-notify job for Google Chat notifications Adds a pr-notify job to pull-request.yml, matching the pattern used by sibling repos (react-native-mparticle, mparticle-android-sdk, cordova-plugin-mparticle, mparticle-apple-sdk). - Runs only on non-draft PRs, after test + all build-* jobs succeed - Uses the shared ROKT/rokt-workflows reusable workflow (pinned to commit SHA) - Posts to Google Chat via GCHAT_PRS_WEBHOOK secret Prerequisite: an org admin must add GCHAT_PRS_WEBHOOK secret to this repo (copy value from any existing mParticle SDK repo). Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/pull-request.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 50fa057..5626fa7 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -22,3 +22,17 @@ jobs: build-web: needs: test uses: ./.github/workflows/build-web.yml + + pr-notify: + if: > + github.event_name == 'pull_request' && + github.event.pull_request.draft == false + needs: + - test + - build-android + - build-ios + - build-web + name: Notify GChat + uses: ROKT/rokt-workflows/.github/workflows/oss_pr_opened_notification.yml@88d0e118869cc788aae18ba37635fa851c879b73 # main + secrets: + gchat_webhook: ${{ secrets.GCHAT_PRS_WEBHOOK }}