From 0c4fd4a8201b15300dda8441f280b1d10c6d800d Mon Sep 17 00:00:00 2001 From: Jac Date: Mon, 24 May 2021 13:15:49 -0700 Subject: [PATCH 1/2] Create slack.yml Created a new action from https://github.com/marketplace/actions/send-message-to-slack --- .github/workflows/slack.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/slack.yml diff --git a/.github/workflows/slack.yml b/.github/workflows/slack.yml new file mode 100644 index 000000000..7d9052bfd --- /dev/null +++ b/.github/workflows/slack.yml @@ -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 }}" From ffefd80d7985b4881c8dc9f9c6fdb44e952f67a6 Mon Sep 17 00:00:00 2001 From: Jac Date: Mon, 24 May 2021 13:34:07 -0700 Subject: [PATCH 2/2] whitespace change to re-try PR --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index e2c30704a..c08371a2f 100644 --- a/README.md +++ b/README.md @@ -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: +