Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.
/ slacker-action Public archive

GitHub Action for sending messages to a Slack channel via a webhook URL.

License

Notifications You must be signed in to change notification settings

zrosenbauer/slacker-action

Repository files navigation





Work smarter not harder with Slacker!

Overview

CI CodeQL js-semistandard-style code style: prettier

Action used to send messages to slack via a webhook.

Usage

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 }}



Sponsorship

Special thanks to: