You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Slack Messenger
v1.0.2
This is a GitHub action to send a Slack message using a Slack bot token.
See https://api.slack.com/bot-users for information on setting up and installing a Slack Bot.
-
message
: The Slack message to send -
slack-token
: The Slack bot user access token -
channel
: The Slack channel ID to send the message to
- name: Post message
uses: joshmgross/send-slack-message@main
with:
message: 'Hello world'
channel: ${{ secrets.SLACK_CHANNEL_ID }}
slack-token: ${{ secrets.SLACK_BOT_TOKEN }}