From 1b2db151a1f503af33c7e45a09d264fc2577b498 Mon Sep 17 00:00:00 2001 From: Martin Raszyk Date: Wed, 21 May 2025 17:10:44 +0200 Subject: [PATCH] chore: add workflow for slack notifications --- .github/workflows/ci-notify-slack.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/ci-notify-slack.yml diff --git a/.github/workflows/ci-notify-slack.yml b/.github/workflows/ci-notify-slack.yml new file mode 100644 index 00000000..35d6f680 --- /dev/null +++ b/.github/workflows/ci-notify-slack.yml @@ -0,0 +1,20 @@ +name: PR Slack Notification + +on: + pull_request: + types: [review_requested] + +jobs: + notify-slack: + name: Notify Slack + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Post to a Slack channel + uses: slackapi/slack-github-action@6c661ce58804a1a20f6dc5fbee7f0381b469e001 # v1.25.0 + with: + channel-id: eng-execution-mrs + slack-message: ":github: <${{ github.event.pull_request.html_url }}|${{ github.event.pull_request.title }}>" + env: + SLACK_BOT_TOKEN: ${{ secrets.SLACK_API_TOKEN }}