From 5674b00413d0491965df0a26fd4463e1d872d7f0 Mon Sep 17 00:00:00 2001 From: Jamie Kuppens Date: Fri, 14 Jun 2024 16:58:26 -0700 Subject: [PATCH] Add notification workflow to notify about PRs --- .../workflows/pull-request-opened-notify-slack.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .github/workflows/pull-request-opened-notify-slack.yml diff --git a/.github/workflows/pull-request-opened-notify-slack.yml b/.github/workflows/pull-request-opened-notify-slack.yml new file mode 100644 index 0000000..28432a2 --- /dev/null +++ b/.github/workflows/pull-request-opened-notify-slack.yml @@ -0,0 +1,11 @@ +name: Send a Slack notification when PRs are opened to alert that a review is needed +on: + pull_request: + types: + - opened +jobs: + send-slack-notification: + if: github.event.pull_request.merged == false + uses: thisdot/shared-actions/.github/workflows/pull-request-opened-notify-slack.yml@main + secrets: + OSS_SLACK_NOTIFICATION_WEBHOOK_URL: ${{ secrets.OSS_SLACK_NOTIFICATION_WEBHOOK_URL }}