Skip to content
success notification example

action-slack

You can notify slack of GitHub Actions.
.github/workflows/example.yaml
steps:
- uses: h3y6e/action-slack@v4
with:
status: ${{ job.status }}
fields: repo,message,commit,author,action,eventName,ref,workflow # selectable (default: repo,commit)
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} # required
if: always() # Pick up events even if the job fails or is canceled.