From bd8c85cfeadec3b34ba838641bcd3d423b306fea Mon Sep 17 00:00:00 2001 From: Patricio Palladino Date: Mon, 10 Jun 2024 14:47:52 -0300 Subject: [PATCH] Add workflows for Slack PR review notifications (#1004) This PR adds the workflows that notifies about PR reviews via Slack --- .../workflows/review-requested-slack-notification.yml | 9 +++++++++ .../workflows/review-submitted-slack-notification.yml | 9 +++++++++ 2 files changed, 18 insertions(+) create mode 100644 .github/workflows/review-requested-slack-notification.yml create mode 100644 .github/workflows/review-submitted-slack-notification.yml diff --git a/.github/workflows/review-requested-slack-notification.yml b/.github/workflows/review-requested-slack-notification.yml new file mode 100644 index 0000000000..d52b44b6b1 --- /dev/null +++ b/.github/workflows/review-requested-slack-notification.yml @@ -0,0 +1,9 @@ +name: "PR review requested Slack notification" +on: + pull_request_target: + types: + - "review_requested" +jobs: + requested: + uses: "NomicFoundation/github-actions-workflows/.github/workflows/review-requested-slack-notification.yml@main" + secrets: "inherit" diff --git a/.github/workflows/review-submitted-slack-notification.yml b/.github/workflows/review-submitted-slack-notification.yml new file mode 100644 index 0000000000..822a7235d6 --- /dev/null +++ b/.github/workflows/review-submitted-slack-notification.yml @@ -0,0 +1,9 @@ +name: "PR reviewed Slack notification" +on: + pull_request_review: + types: + - "submitted" +jobs: + reviewed: + uses: "NomicFoundation/github-actions-workflows/.github/workflows/review-submitted-slack-notification.yml@main" + secrets: "inherit"