eugene-babichenko/Send Slack notification

Send a Slack message with the workflow data.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Oct 14, 2021
License
MIT
Runtime
Deprecated runtime

Pinned Snippet

workflow.ymlSHA-pinned
uses: eugene-babichenko/slack-notifier@9c40a85e3a2707fbde0cb329d3239c7848992448 # v1.0.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
webhookURL of Slack incoming webhook.yes
statusThe status to be used for the notification. A status of a step can be used. Must be on of: - `success` - `failure` - `cancelled` yes
textThe text of the notification. You can use Slack message markup. By default this is set based on the provided `status`. no""
colorThe color this message will be highlighted with. By default this is set based on the provided `status`. no""
usernameChange the displayed name of the app for this message. This requires your app to have [`chat:write.customize`](https://api.slack.com/scopes/chat:write.customize) scope enabled. Otherwise this field will not have any effect. See (Slack API docs)[https://api.slack.com/messaging/sending#impersonation] for more details. no""
icon-urlChange the displayed icon of the app. This requires your app to have [`chat:write.customize`](https://api.slack.com/scopes/chat:write.customize) scope enabled. Otherwise this field will not have any effect. See (Slack API docs)[https://api.slack.com/messaging/sending#impersonation] for more details. no""
icon-emojiDisplay an emoji as the app icon. This requires your app to have [`chat:write.customize`](https://api.slack.com/scopes/chat:write.customize) scope enabled. Otherwise this field will not have any effect. See (Slack API docs)[https://api.slack.com/messaging/sending#impersonation] for more details. no""
custom-fieldsA JSON array of additional fields to be displayed along with the default ones. See (Field objects)[https://api.slack.com/reference/messaging/attachments#field_objects] documentation for the details. no[]

no outputs