From dca4cc00bdd78115f7c6b0aa2dac4aa239be4673 Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Thu, 17 Aug 2023 17:34:06 +0000 Subject: [PATCH] Build/Test Tools: Send a failure notice in Slack when a run fails to start. This adds `startup_failure` to the list of conclusions that the Slack workflow looks for when determining whether to send a failure notice. See #58867. git-svn-id: https://develop.svn.wordpress.org/trunk@56406 602fd350-edb4-49c9-b593-d223f7449a82 --- .github/workflows/slack-notifications.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/slack-notifications.yml b/.github/workflows/slack-notifications.yml index 8b758f81fa..eb87855dd6 100644 --- a/.github/workflows/slack-notifications.yml +++ b/.github/workflows/slack-notifications.yml @@ -162,7 +162,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 5 needs: [ prepare ] - if: ${{ ( inputs.calling_status == 'failure' || failure() ) && needs.prepare.outputs.previous_conclusion != 'first-failure' }} + if: ${{ ( contains( fromJson( '["failure", "startup_failure"]' ), needs.prepare.outputs.previous_conclusion ) || failure() ) && needs.prepare.outputs.previous_conclusion != 'first-failure' }} steps: - name: Post failure notifications to Slack