Skip to content

Commit

Permalink
Merge pull request #851 from tableau/jacalata-patch-1
Browse files Browse the repository at this point in the history
Create slack.yml action
  • Loading branch information
jacalata authored Jun 24, 2021
2 parents ec3cc50 + ffefd80 commit 5cbfc34
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/slack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: 💬 Send Message to Slack 🚀

on: [push, pull_request, issues]

jobs:
slack-notifications:
runs-on: ubuntu-20.04
name: Sends a message to Slack when a push, a pull request or an issue is made
steps:
- name: Send message to Slack API
uses: archive/github-actions-slack@v2.0.1
id: notify
with:
slack-bot-user-oauth-access-token: ${{ secrets.SLACK_BOT_USER_OAUTH_ACCESS_TOKEN }}
slack-channel: C019HCX84L9
slack-text: Hello! Event "${{ github.event_name }}" in "${{ github.repository }}" 🤓
- name: Result from "Send Message"
run: echo "The result was ${{ steps.notify.outputs.slack-result }}"
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ This repository contains Python source code and sample files. Python versions 3.

For more information on installing and using TSC, see the documentation:
<https://tableau.github.io/server-client-python/docs/>

0 comments on commit 5cbfc34

Please sign in to comment.