8000 Merge pull request #851 from tableau/jacalata-patch-1 · TableauJoe/server-client-python@5cbfc34 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5cbfc34

Browse files
authored
Merge pull request tableau#851 from tableau/jacalata-patch-1
Create slack.yml action
2 parents ec3cc50 + ffefd80 commit 5cbfc34

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.github/workflows/slack.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: 💬 Send Message to Slack 🚀
2+
3+
on: [push, pull_request, issues]
4+
5+
jobs:
6+
slack-notifications:
7+
runs-on: ubuntu-20.04
8+
name: Sends a message to Slack when a push, a pull request or an issue is made
9+
steps:
10+
- name: Send message to Slack API
11+
uses: archive/github-actions-slack@v2.0.1
12+
id: notify
13+
with:
14+
slack-bot-user-oauth-access-token: ${{ secrets.SLACK_BOT_USER_OAUTH_ACCESS_TOKEN }}
15+
slack-channel: C019HCX84L9
16+
slack-text: Hello! Event "${{ github.event_name }}" in "${{ github.repository }}" 🤓
17+
- name: Result from "Send Message"
18+
run: echo "The result was ${{ steps.notify.outputs.slack-result }}"

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ This repository contains Python source code and sample files. Python versions 3.
1212

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

0 commit comments

Comments
 (0)
0