Migrate to Slack GitHub Action (from the Slack Team)
Work smarter not harder with Slacker!
Action used to send messages to slack via a webhook.
The API for this action mirrors the Slack Webhook API verbatim. Some items are not currently supported (i.e. attachments).
name: Example Action
on: push
jobs:
sendAMessage:
name: Send a Message
runs-on: ubuntu-latest
steps:
- uses: zrosenbauer/slacker-action@main
with:
username: 'ExampleBot'
icon_emoji: ':robot_face:'
text: 'This is a sample message'
webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}