File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ name : iOS end-to-end nightly tests monitor
3+ on :
4+ # https://docs.github.com/en/webhooks/webhook-events-and-payloads#workflow_run
5+ workflow_run :
6+ workflows : ["iOS end-to-end nightly tests"]
7+ types :
8+ - completed
9+
10+ permissions : {}
11+
12+ jobs :
13+ notify-on-failed-workflow :
14+ # Payload of workflow_run:
15+ # https://docs.github.com/en/rest/actions/workflow-runs?apiVersion=2026-03-10#get-a-workflow-run
16+ if : " ${{ github.event.workflow_run.conclusion != 'successful' }}"
17+ name : Notify team on nightly E2E failure
18+ runs-on : [ubuntu-latest]
19+ timeout-minutes : 5
20+ steps :
21+ - name : Send custom event details to a Slack workflow
22+ uses : slackapi/slack-github-action@v2.1.1
23+ with :
24+ webhook : ${{ secrets.IOS_SLACK_WEBHOOK_URL }}
25+ webhook-type : webhook-trigger
26+ # workflow_run.html_url returns the full url of the workflow we're responding too.
27+ payload : |
28+ run_url: "${{ github.event.workflow_run.html_url }}"
You can’t perform that action at this time.
0 commit comments