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
This commit is contained in:
Jonathan Desrosiers 2023-08-17 17:34:06 +00:00
parent 7cd891845e
commit dca4cc00bd

View File

@ -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