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 }}