{"repo":"wearerequired/slack-messaging-action","free":true,"listed":false,"github":"https://github.com/wearerequired/slack-messaging-action","clone":"git clone https://github.com/wearerequired/slack-messaging-action.git","description":"💌 A GitHub Action for sending (and updating) messages of any layout and formatting from GitHub Actions to Slack.","language":"JavaScript","stars":19,"topics":["slack","bot","github-action"],"license":"MIT","category":"chat-messaging","readme_excerpt":"Slack Messaging Action A GitHub Action for sending (and updating) messages of any layout and formatting from GitHub Actions to Slack. Inspired by Slack Notify Build. A Slack bot token is required to use this action, and the associated app must be granted permission to post in the channel, private group or DM you specify. Usage In payload you have to provide your own rich message layout which will be sent as is to Slack. Updating an existing message If you prefer to update a single message instead of posting multiple messages, you can pass a message id to future steps. Note: You must assign a step id to the first Slack notification step in order to reference it for future steps: Inputs bot token A bot token associated with a Slack app. Required Note : The following bot token scopes are required: chat:write , chat:write.customize , chat:write.public , channels:read , and groups:read . channel The name of the channel to post the message to. Required if no channel id is provided. Note : If your workspace has many channels, supplying only a channel may cause rate limiting issues with this GitHub Action. Consider supplying a channel id instead. channel id The ID of the channel to post the message to. Required if no channel is provided, or if you need to send to a DM. payload The JSON payload of a message to send. Required Note : channel and ts are set to the values of the respective inputs. message id The ID of a previous Slack message to update instead of posting a new message. Ty","default_branch":null,"files":null,"tree":[],"storefront":"/r/wearerequired","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/wearerequired/slack-messaging-action/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}