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.
token
: The Slack bot user access tokenpayload
: The payload should contain channel and other arguments see https://api.slack.com/methods/chat.postMessage
- name: Notify slack
uses: conocer/slack-action@main
with:
token: ${{ secrets.SLACK_BOT_TOKEN }}
payload: '{\"channel\":\"C123456789\", \"text\":\"Message\" }'