Skip to content

Commit

Permalink
feat: Adding slack bot for PRs and Issues (#1106)
Browse files Browse the repository at this point in the history
* Adding slack bot for PRs and Issues

* Fix quote
  • Loading branch information
sfc-gh-jalin authored Jul 8, 2022
1 parent f34f012 commit 95c255e
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/team-slack-bot.yml
Original file line number Diff line number Diff line change
@@ -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 }}'

0 comments on commit 95c255e

Please sign in to comment.