Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
send

GitHub Action

Notify Slack Action

v1.1

Notify Slack Action

send

Notify Slack Action

Send Github Actions workflow status notifications to Slack

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Notify Slack Action

uses: ravsamhq/[email protected]

Learn more about this action in ravsamhq/notify-slack-action

Choose a version

Test License: MIT

Notify Slack Action

Send Github Actions workflow status notifications to Slack regarding failures, warnings or even success. You can read more about the action in our blog post.

Example workflow

steps:
  - uses: ravsamhq/notify-slack-action@master
    if: always()
    with:
      status: ${{ job.status }}
      notify_when: 'failure' # default is 'success,failure,warnings'
    env:
      SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} # required

Made in Python • By Ravgeet Dhillon @ RavSam Web Solutions.