actions-marketplace-validations/Slack Message
Send messages to Slack from GitHub Actions.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| text | Text to send to Slack, in Slack's "mrkdwn" format - required. | yes | — |
| color | The colour of the Slack attachment. | no | — |
| bot-token | A Slack bot token to send messages with - required if `webhook-url` was not provided. | no | — |
| webhook-url | A Slack webhook URL to send messages to - required if `bot-token` was not provided. | no | — |
| channel | The Slack channel - required if `bot-token`, optional with `webhook-url`. | no | — |
| username | Set the webhook username - only valid if `webhook-url` was provided. | no | — |
| title | A title for the Slack message, defaults to "$WORKFLOW_NAME (#$COMMIT-HASH)" | no | — |
| icon-emoji | Set the webhook icon_emoji - only valid if `webhook-url` was provided. | no | — |
| icon-url | Set the webhook icon_url - only valid if `webhook-url` was provided. | no | — |
| message-id | The ID of the existing Slack message to update - only valid if `bot-token` was provided. | no | — |
| image-url | Image URL for attachment | no | — |
| thumb-url | Thumb URL for attachment | no | — |
Outputs
| name | description |
|---|---|
| message-id | The unique identifier of the Slack message sent. |