Send data into Slack using this GitHub Action and Slack App!
This package sends data via a Slack app to post to a specific channel using predefined payload (Slack Bitbucket cloud style).
Bot token is needed!
For additional information see here!
Add this Action as a step to your project's GitHub Action Workflow file:
- name: Workflow notification to a Slack channel
id: wf-to-slack
uses: inetstudio/github-to-slack-action@v1.4.1
with:
# Slack channel id, channel name, or user id to post message.
channel-id: 'CHANNEL_ID'
# Secret App token from OAuth & Permissions page
bot-token: 'BOT_TOKEN'
env:
FAILED_RUN: ${{ contains(needs.*.result, 'failure') }}❗️ You need to fill
needs:in this step, action will get a workflow status from selected steps.
The scripts and documentation in this project are released under the MIT License
