Workflow status notifications in slack.
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 }}
The project is released under the terms of the MIT License.