mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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:
parent
7cd891845e
commit
dca4cc00bd
2
.github/workflows/slack-notifications.yml
vendored
2
.github/workflows/slack-notifications.yml
vendored
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user