Unverified Commit 00db625f authored by Sebastian "Sebbie" Silbermann's avatar Sebastian "Sebbie" Silbermann Committed by GitHub

[ci] Disable on-call notification if manual deploy e2e tests failed (#94554)

parent 89bd4833
......@@ -41,12 +41,11 @@ jobs:
report-failure:
name: report failure to slack
# Report the failure to Slack if the test-e2e-deploy-release workflow has failed 2 times
# Manual runs (workflow_dispatch) are likely personal tests and don't
# require action by the on-call.
if: >-
${{
(
github.event.workflow_run.event == 'release' ||
github.event.workflow_run.display_title == 'test-e2e-deploy canary'
) &&
github.event.workflow_run.event == 'release' &&
github.event.workflow_run.conclusion == 'failure' &&
github.event.workflow_run.run_attempt >= 2 &&
!github.event.workflow_run.head_repository.fork
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment