zrosenbauer / slacker-action

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool





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:

About

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

License:MIT License


Languages

Language:JavaScript 99.7%Language:TypeScript 0.3%