ikaruga777 / slack-notify

🍟 A GitHub Action to send a workflow result to a Slack channel.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

slack-notify

A GitHub Action to send a workflow result to a Slack channel.

image

Example

- name: Notify
  if: always()
  uses: dojineko/slack-notify@v1
  with:
    github_host: github.private.test # default: github.com
    job_status: ${{ job.status }}
    slack_webhook: ${{ secrets.SLACK_WEBHOOK }}

Variables

Variables Default Purpose
github_host github.com Specifies the hostname for GitHub, for GitHub Enterprise.
job_status (required) Job status
slack_webhook (required) Slack Incomming Webhook (legacy token is not supported)

About

🍟 A GitHub Action to send a workflow result to a Slack channel.


Languages

Language:TypeScript 100.0%