actions-marketplace-validations/Send Slack Notification Action

Report current build status on Slack

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Dec 23, 2024
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/xaroth_action-slack-notification@395bd3f1a8aa69ccc1b29b93ba99da72a43c8c5b # no releases — HEAD as of 2026-07-13

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

namedescriptionrequireddefault
message-typeWhether to display a rich message, or a simple text message.no
show-footerWhether to show the footer (linking to the repository) or not.no
channel-nameThe name of the Slack channel to send to. Required if `channel-id` is not provided. Requires the `channels:read` and `groups:read` OAuth Scopes on slack.
channel-idThe ID of the Slack channel to send to. Required if `channel-name` is not provided.no
message-titleThe title of the message to send.no
message-linkThe link for the title of the message to send.no
message-idThe ID of the existing slack message to update.no
slack-tokenThe [Slack bot token](https://api.slack.com/docs/token-types) to be used to communicate with Slack. We recommend creating a Slack App and adding that to your workspace. Ensure that the App you created has created a Bot user, and give it access to at least the `chat:write` scope. If you wish to use the `channel-name` option instead of `channel-id`, please ensure that the additionally required scopes are added. The token will be stored to be used during the post-action, after which it will be cleaned up. If you wish to update the message in transit, be sure to also specify the `message-id` output from the first time this action is run this workflow.
github-tokenPersonal access token (PAT) used to access GitHub. We recommend using a service account with the least permissions necessary. Also when generating a new PAT, select the least scopes necessary. [Learn more about creating and using encrypted secrets](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets) ${{ github.token }}
matrixTo specify which matrix job is being run specifically for this workflow. The default value (`toJSON(matrix)`) generally does not need changing. With inaccurate matrix information we will be unable to determine which job is running for which matrix, and as such, you may notice the 'unknown' state being reported. ${{ toJSON(matrix) }}
message-customTo specify your own custom 'extra' message to be sent to the channel.
message-summaryTo specify your own custom summary message
message-textTo specify your own custom pre-text.
namedescription
message-idThe ID of the slack message sent
channel-idThe resolved channel ID that we'll be sending to.