From 95c255e5ca65b619b35692671848877793cac29e Mon Sep 17 00:00:00 2001 From: Jason Lin Date: Fri, 8 Jul 2022 09:53:11 -0700 Subject: [PATCH] feat: Adding slack bot for PRs and Issues (#1106) * Adding slack bot for PRs and Issues * Fix quote --- .github/workflows/team-slack-bot.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/team-slack-bot.yml diff --git a/.github/workflows/team-slack-bot.yml b/.github/workflows/team-slack-bot.yml new file mode 100644 index 0000000000..7f49bc4bd6 --- /dev/null +++ b/.github/workflows/team-slack-bot.yml @@ -0,0 +1,20 @@ +name: slack-notifications-prs-issues + +on: [pull_request, issues] + +jobs: + slack-action: + runs-on: windows-latest + name: Test 2 [windows-latest] + + steps: + - name: Send Slack Message + uses: archive/github-actions-slack@master + id: send-message + with: + slack-bot-user-oauth-access-token: ${{ secrets.SLACK_BOT_USER_OAUTH_ACCESS_TOKEN }} + slack-channel: C03KS51EF3R + slack-text: Event "${{ github.event_name }}" + + - name: Result from "Send Slack Message" + run: echo '${{ steps.send-message.outputs.slack-result }}'