Skip to content

Commit 76fb870

Browse files
authored
chore: Add PR notification (#1164)
* chore: Add PR notification * Update permissions * Update permissions
1 parent 3920c14 commit 76fb870

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/pull-request.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ name: Web SDK Build & Test
55

66
on: pull_request
77

8+
permissions:
9+
contents: read
10+
pull-requests: write
11+
checks: write
12+
id-token: write
13+
814
jobs:
915
build-bundle:
1016
name: Build Distribution Bundle
@@ -337,3 +343,19 @@ jobs:
337343
- test-integrations-module-js-rollup
338344
- test-integrations-require-js
339345
uses: mParticle/mparticle-workflows/.github/workflows/dependabot-save-pr-number.yml@main
346+
347+
pr-notify:
348+
if: github.event_name == 'pull_request' && github.event.pull_request.draft == false
349+
needs:
350+
- test-stub
351+
- test-integrations-require-js
352+
- test-integrations-common-js-browserfy
353+
- test-integrations-common-js-webpack
354+
- test-integrations-common-js-rollup
355+
- test-integrations-module-js-webpack
356+
- test-integrations-module-js-rollup
357+
- generate-report
358+
name: Notify GChat
359+
uses: ROKT/rokt-workflows/.github/workflows/oss_pr_opened_notification.yml@main
360+
secrets:
361+
gchat_webhook: ${{ secrets.GCHAT_PRS_WEBHOOK }}

0 commit comments

Comments
 (0)