This action sends slack messages upon failed builds.
Required The url of your slack webhook.
Required A variable for accessing information about the job that's being run.
This is required for broadcasting what step id failed. Note: You will need to assign ids to your steps
- name: Broadcast failure
if: ${{ failure() }}
uses: surgiollc/slack-action@v1.1.0
with:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
STEPS_CONTEXT: ${{ toJson(steps) }}