summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorEmīls <emils@mullvad.net>2026-04-20 14:39:23 +0200
committerEmīls <emils@mullvad.net>2026-04-20 14:39:23 +0200
commit9621317e8cef8d47a58a70f5c3352768a2d8a0eb (patch)
tree1b1323fd781458552b68a84ec06b45c1aa0d89ac
parent956a03106ccea8b3d563c2dcf5593e0e4293855a (diff)
parent9d89d7316104b2cbd158f78d94bdf824d2274d69 (diff)
downloadmullvadvpn-9621317e8cef8d47a58a70f5c3352768a2d8a0eb.tar.xz
mullvadvpn-9621317e8cef8d47a58a70f5c3352768a2d8a0eb.zip
Merge branch 'notify-app-ios-on-successful-nightly-test-runs-ios-1575'
-rw-r--r--.github/workflows/ios-end-to-end-tests-nightly-notification.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/.github/workflows/ios-end-to-end-tests-nightly-notification.yml b/.github/workflows/ios-end-to-end-tests-nightly-notification.yml
new file mode 100644
index 0000000000..d7fbb7b489
--- /dev/null
+++ b/.github/workflows/ios-end-to-end-tests-nightly-notification.yml
@@ -0,0 +1,28 @@
+---
+name: iOS end-to-end nightly tests monitor
+on:
+ # https://docs.github.com/en/webhooks/webhook-events-and-payloads#workflow_run
+ workflow_run:
+ workflows: ["iOS end-to-end nightly tests"]
+ types:
+ - completed
+
+permissions: {}
+
+jobs:
+ notify-on-failed-workflow:
+ # Payload of workflow_run:
+ # https://docs.github.com/en/rest/actions/workflow-runs?apiVersion=2026-03-10#get-a-workflow-run
+ if: "${{ github.event.workflow_run.conclusion != 'successful' }}"
+ name: Notify team on nightly E2E failure
+ runs-on: [ubuntu-latest]
+ timeout-minutes: 5
+ steps:
+ - name: Send custom event details to a Slack workflow
+ uses: slackapi/slack-github-action@v2.1.1
+ with:
+ webhook: ${{ secrets.IOS_SLACK_WEBHOOK_URL }}
+ webhook-type: webhook-trigger
+ # workflow_run.html_url returns the full url of the workflow we're responding too.
+ payload: |
+ run_url: "${{ github.event.workflow_run.html_url }}"