sonots/Slack Notice Action

A GitHub Action to notify slack.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
statusSpecify success or failure or cancelled or custom.
payloadjson payload refs https://github.com/slackapi/node-slack-sdk/blob/v5.0.0/packages/webhook/src/IncomingWebhook.ts#L91-L106)
mentionSpecify channel or here or `user_id`. refs: https://api.slack.com/reference/surfaces/formatting#mentioning-users ""
only_mention_failSpecify channel or here or `user_id`. refs: https://api.slack.com/reference/surfaces/formatting#mentioning-users ""
titleTitle for slack notification.""
textYou can overwrite text.""
text_on_successOverride text on success only. Wins over `text`.""
text_on_failOverride text on failure only. Wins over `text`.""
text_on_cancelOverride text on cancellation only. Wins over `text`.""
channelSlack channel ID or name (e.g. `C0123456789` or `#alerts`). Required when using Bot Token mode (`SLACK_BOT_TOKEN`). Ignored in Webhook mode (the channel is fixed by the webhook URL). ""
usernameOverride the bot display name for this message. Bot Token mode only — Slack ignores this in Webhook mode. ""
icon_emojiOverride the bot icon for this message with an emoji (e.g. `:rocket:`). Bot Token mode only. ""
icon_urlOverride the bot icon for this message with an image URL. Bot Token mode only. ""

no outputs