Skip to content

Alert

Alert #656

Workflow file for this run

name: Alert
on:
workflow_run:
workflows: ["CI"]
types: ["completed"]
branches: ["main"]
jobs:
send-alert:
if: ${{ github.event.workflow_run.conclusion == 'failure' }}
runs-on: ubuntu-latest
steps:
- name: Send alert to slack
id: slack
uses: slackapi/[email protected]
with:
payload: |
{
"message": "CI failed on main branch in forage-android-sdk! https://github.com/teamforage/forage-android-sdk/actions"
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}