Skip to content

GitHub Action to send CI status notifications in slack

License

Notifications You must be signed in to change notification settings

titenkov/action-slack

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

action-slack

Status License Sponsor

Workflow status notifications in slack.

Screenshot

Usage:

- uses: titenkov/action-slack@v5

Inputs:

  • status: String The job status: ${{ job.status }}.

Environment:

  • SLACK_WEBHOOK_URL: The URL of Slack incoming webhook.

Complete example:

  name: ci
  on: [push]
  jobs:
    ci:
      runs-on: ubuntu-latest
      steps:

        - uses: titenkov/action-slack@v5
          if: ${{ always() }}
          env:
            SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
          with:
            status: ${{ job.status }}

License

The project is released under the terms of the MIT License.

About

GitHub Action to send CI status notifications in slack

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •