step-security/action-slack

You can notify slack of GitHub Actions.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
statusSpecify success or failure or cancelled or custom.yes
fieldsYou can choose the items you want to add to the fields at the time of notification. If you have more than one, please enter it in csv format. e.g. commit,repo no""
custom_payloadjson payload refs https://github.com/slackapi/node-slack-sdk/blob/v5.0.0/packages/webhook/src/IncomingWebhook.ts#L91-L106) no
mentionSpecify channel or here or `user_id`. refs: https://api.slack.com/reference/surfaces/formatting#mentioning-users no""
if_mentionSpecify success or failure or cancelled or custom or always. Multiple statuses can be specified in csv format. e.g. success,failure no""
author_nameUser name for slack notification.nostep-security@action-slack
textYou can overwrite text.no""
usernameoverride the legacy integration's default name.no""
icon_emojian emoji code string to use in place of the default icon.no""
icon_urlan icon image URL string to use in place of the default icon.no""
channeloverride the legacy integration's default channel. This should be an ID, such as C8UJ12P4P.no""
job_nameUse this if you want to overwrite the job name.no""
success_messageMessage to use when the status is 'success'.no:white_check_mark: Succeeded GitHub Actions
cancelled_messageMessage to use when the status is 'cancelled'.no:warning: Cancelled GitHub Actions
failure_messageMessage to use when the status is 'failure'.no:no_entry: Failed GitHub Actions
github_tokenUse this if you wish to use a different GitHub token than the one provided by the workflow.no${{ github.token }}
github_base_urlSpecify if you want to use GitHub Enterprise.no""

no outputs